Closed Jeckerson closed 1 year ago
Current code:
protected transaction = null { get };
will generate incorrect ARG_INFO which will cause seg fault:
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_mvc_model_gettransaction, 0, 0, IS_NULL, 1) ZEND_END_ARG_INFO()
It is impossible to have IS_NULL inside 4th argument of ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX it always must contain valid namespace class.
IS_NULL
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX
Fixed in https://github.com/zephir-lang/zephir/issues/2387
Current code:
will generate incorrect ARG_INFO which will cause seg fault:
It is impossible to have
IS_NULL
inside 4th argument ofZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX
it always must contain valid namespace class.