Home
last modified time | relevance | path

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

/PHP-8.0/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-8.0/ext/standard/tests/array/
H A Dbug29493.phpt33 // is_ref($a) = true
55 // is_ref($a) = true
59 // is_ref($a) = true
/PHP-8.0/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-8.0/Zend/
H A Dzend_API.h800 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
822 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
844 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
866 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
888 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
910 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
932 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
954 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
998 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1020 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
[all …]
H A Dzend_API.c2886 …ash_symbol(zval *symbol, const char *name, size_t name_length, zend_bool is_ref, int num_symbol_ta… in zend_set_hash_symbol() argument
2893 if (is_ref) { in zend_set_hash_symbol()
H A Dzend_compile.c6374 zend_bool is_ref = (param_ast->attr & ZEND_PARAM_REF) != 0; in zend_compile_params() local
6479 uint32_t arg_info_flags = _ZEND_ARG_INFO_FLAGS(is_ref, is_variadic) in zend_compile_params()
6554 zend_bool is_ref = (param_ast->attr & ZEND_PARAM_REF) != 0; in zend_compile_params() local
6570 is_ref ? ZEND_ASSIGN_OBJ_REF : ZEND_ASSIGN_OBJ, NULL, &name_node); in zend_compile_params()
/PHP-8.0/ext/standard/
H A Dvar.c36 #define COMMON (is_ref ? "&" : "")
91 int is_ref = 0; in php_var_dump() local
194 is_ref = 1; in php_var_dump()
272 int is_ref = 0; in php_debug_zval_dump() local
372 is_ref = 1; in php_debug_zval_dump()
641 zend_bool is_ref = Z_ISREF_P(var); in php_add_var_hash() local
645 if (!is_ref && Z_TYPE_P(var) != IS_OBJECT) { in php_add_var_hash()
650 if (is_ref && Z_TYPE_P(Z_REFVAL_P(var)) == IS_OBJECT) { in php_add_var_hash()
661 if (is_ref && Z_LVAL_P(zv) != -1) { in php_add_var_hash()
/PHP-8.0/ext/mysqli/tests/
H A D009.phpt52 $c8 = 4567;// change this to test how mysqli/mysqlnd handles is_ref changing
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_utils.c650 #define COMMON (is_ref ? "&" : "")
658 zend_bool is_ref = 0; in phpdbg_xml_var_dump() local
661 is_ref = Z_ISREF_P(zv) && GC_REFCOUNT(Z_COUNTED_P(zv)) > 1; in phpdbg_xml_var_dump()

Completed in 90 milliseconds