NumPower / numpower

PHP extension for efficient scientific computing and array manipulation with GPU support
https://numpower.org
Other
192 stars 4 forks source link

ZVAL_TO_NDARRAY zval check and error handling #8

Closed henrique-borba closed 1 year ago

henrique-borba commented 1 year ago

ZVAL_TO_NDARRAY must return NULL in case of invalid zval type.

NDArray* ZVAL_TO_NDARRAY(zval* obj)