Home
last modified time | relevance | path

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

/PHP-7.4/Zend/tests/array_unpack/
H A Dref1.phpt7 $b = [&$a]; //array (0 => (refcount=2, is_ref=1)=1)
9 unset($a); //array (0 => (refcount=1, is_ref=1)=1)
11 var_dump([...$b]); //array (0 => (refcount=0, is_ref=0)=1)
/PHP-7.4/ext/standard/tests/array/
H A Dbug29493.phpt33 // is_ref($a) = true
55 // is_ref($a) = true
59 // is_ref($a) = true
/PHP-7.4/Zend/tests/
H A Dbug33282.phpt2 Bug #33282 (Re-assignment by reference does not clear the is_ref flag)
H A Dbug71336.phpt2 Bug #71336 (Wrong is_ref on properties as exposed via get_object_vars())
/PHP-7.4/Zend/
H A Dzend_API.h698 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
720 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
742 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
764 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
786 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
808 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
830 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
852 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
896 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
918 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
[all …]
H A Dzend_API.c2802 ZEND_API int zend_set_hash_symbol(zval *symbol, const char *name, int name_length, zend_bool is_ref in zend_set_hash_symbol() argument
2809 if (is_ref) { in zend_set_hash_symbol()
H A Dzend_compile.c5375 zend_bool is_ref = (param_ast->attr & ZEND_PARAM_REF) != 0; in zend_compile_params() local
5427 arg_info->pass_by_reference = is_ref; in zend_compile_params()
/PHP-7.4/ext/standard/
H A Dvar.c39 #define COMMON (is_ref ? "&" : "")
96 int is_ref = 0; in php_var_dump() local
203 is_ref = 1; in php_var_dump()
285 int is_ref = 0; in php_debug_zval_dump() local
389 is_ref = 1; in php_debug_zval_dump()
660 zend_bool is_ref = Z_ISREF_P(var); in php_add_var_hash() local
664 if (!is_ref && Z_TYPE_P(var) != IS_OBJECT) { in php_add_var_hash()
669 if (is_ref && Z_TYPE_P(Z_REFVAL_P(var)) == IS_OBJECT) { in php_add_var_hash()
680 if (is_ref && Z_LVAL_P(zv) != -1) { in php_add_var_hash()
/PHP-7.4/ext/mysqli/tests/
H A D009.phpt52 $c8 = 4567;// change this to test how mysqli/mysqlnd handles is_ref changing
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_utils.c652 #define COMMON (is_ref ? "&" : "")
660 zend_bool is_ref = 0; in phpdbg_xml_var_dump() local
663 is_ref = Z_ISREF_P(zv) && GC_REFCOUNT(Z_COUNTED_P(zv)) > 1; in phpdbg_xml_var_dump()

Completed in 75 milliseconds