Home
last modified time | relevance | path

Searched refs:scope_arg (Results 1 – 1 of 1) sorted by relevance

/PHP-7.3/Zend/
H A Dzend_closures.c181 zval *newthis, *zclosure, *scope_arg = NULL; in ZEND_METHOD() local
185 …END_NUM_ARGS(), getThis(), "Oo!|z", &zclosure, zend_ce_closure, &newthis, &scope_arg) == FAILURE) { in ZEND_METHOD()
191 if (scope_arg != NULL) { /* scope argument was given */ in ZEND_METHOD()
192 if (Z_TYPE_P(scope_arg) == IS_OBJECT) { in ZEND_METHOD()
193 ce = Z_OBJCE_P(scope_arg); in ZEND_METHOD()
194 } else if (Z_TYPE_P(scope_arg) == IS_NULL) { in ZEND_METHOD()
198 zend_string *class_name = zval_get_tmp_string(scope_arg, &tmp_class_name); in ZEND_METHOD()

Completed in 6 milliseconds