MCPcopy Index your code
hub / github.com/php/frankenphp / createNewArray

Function createNewArray

types.go:416–419  ·  view source on GitHub ↗

createNewArray creates a new zend_array with the specified size.

(size uint32)

Source from the content-addressed store, hash-verified

414
415// createNewArray creates a new zend_array with the specified size.
416func createNewArray(size uint32) *C.zend_array {
417 arr := C.__zend_new_array__(C.uint32_t(size))
418 return (*C.zend_array)(unsafe.Pointer(arr))
419}
420
421// IsPacked determines if the given zend_array is a packed array (list).
422// Returns false if the array is nil or not packed.

Callers 2

phpArrayFunction · 0.85
PHPPackedArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected