createNewArray creates a new zend_array with the specified size.
(size uint32)
| 414 | |
| 415 | // createNewArray creates a new zend_array with the specified size. |
| 416 | func 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. |
no outgoing calls
no test coverage detected