/php-src/ext/standard/tests/general_functions/ |
H A D | call_user_func_array_variation_001.phpt | 10 function by_ref(&$arg) { 19 echo "------ Calling by_ref() with unreferenced argument ------\n"; 21 call_user_func_array('by_ref', $arg); 30 echo "------ Calling by_ref() with referenced argument ------\n"; 33 call_user_func_array('by_ref', $arg); 43 ------ Calling by_ref() with unreferenced argument ------ 45 Warning: by_ref(): Argument #1 ($arg) must be passed by reference, value given in %s on line %d 55 ------ Calling by_ref() with referenced argument ------
|
/php-src/Zend/tests/restrict_globals/ |
H A D | invalid_pass_by_ref.phpt | 6 function by_ref(&$ref) {} 8 by_ref($GLOBALS); 22 by_ref(): Argument #1 ($ref) could not be passed by reference
|
/php-src/ext/opcache/tests/ |
H A D | wrong_inlining_005.phpt | 8 function by_ref(&$var) 17 by_ref(get_array()[0]);
|
/php-src/Zend/ |
H A D | zend_property_hooks.c | 27 bool by_ref; member 149 if (hooked_iter->by_ref in zho_declared_it_fetch_current() 176 if (!hooked_iter->by_ref) { in zho_declared_it_fetch_current() 223 if (hooked_iter->by_ref && Z_TYPE(bucket->val) != IS_REFERENCE) { in zho_dynamic_it_fetch_current() 349 …nd_object_iterator *zend_hooked_object_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in zend_hooked_object_get_iterator() argument 364 iterator->by_ref = by_ref; in zend_hooked_object_get_iterator()
|
H A D | zend_property_hooks.h | 37 …d_object_iterator *zend_hooked_object_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
H A D | zend_interfaces.c | 213 …tic zend_object_iterator *zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in zend_user_it_get_iterator() argument 217 if (by_ref) { in zend_user_it_get_iterator() 236 …zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref) in zend_user_it_get_new_iterator() argument 253 new_iterator = ce_it->get_iterator(ce_it, &iterator, by_ref); in zend_user_it_get_new_iterator()
|
H A D | zend_interfaces.h | 70 …end_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
H A D | zend_compile.c | 3108 if (by_ref) { in zend_delayed_compile_dim() 5686 by_ref = 0; in zend_compile_return() 5703 if (by_ref) { in zend_compile_return() 5721 if (by_ref && expr_ast) { in zend_compile_return() 6059 if (by_ref) { in zend_compile_foreach() 6064 by_ref = 1; in zend_compile_foreach() 6073 if (by_ref) { in zend_compile_foreach() 6096 } else if (by_ref) { in zend_compile_foreach() 10671 bool by_ref; in zend_compile_array() local 10700 if (by_ref) { in zend_compile_array() [all …]
|
/php-src/ext/intl/breakiterator/ |
H A D | breakiterator_iterators.h | 37 zend_class_entry *ce, zval *object, int by_ref);
|
H A D | breakiterator_iterators.cpp | 94 zend_class_entry *ce, zval *object, int by_ref) in _breakiterator_get_iterator() argument 97 if (by_ref) { in _breakiterator_get_iterator()
|
/php-src/ext/zend_test/ |
H A D | iterators.c | 90 int by_ref in test_traversable_get_iterator() argument 94 if (by_ref) { in test_traversable_get_iterator()
|
/php-src/ext/mysqli/ |
H A D | mysqli_result_iterator.c | 42 zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in php_mysqli_result_get_iterator() argument 46 if (by_ref) { in php_mysqli_result_get_iterator()
|
H A D | php_mysqli_structs.h | 149 …nd_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
/php-src/ext/dom/ |
H A D | token_list.h | 42 zend_object_iterator *dom_token_list_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
H A D | dom_iterators.c | 250 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ in php_dom_get_iterator() argument 259 if (by_ref) { in php_dom_get_iterator()
|
H A D | token_list.c | 710 zend_object_iterator *dom_token_list_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in dom_token_list_get_iterator() argument 712 if (by_ref) { in dom_token_list_get_iterator()
|
H A D | php_dom.h | 156 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
/php-src/ext/pdo/ |
H A D | php_pdo_int.h | 39 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref);
|
/php-src/ext/com_dotnet/ |
H A D | php_com_dotnet_internal.h | 80 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref); 147 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref);
|
H A D | com_iterator.c | 134 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref) in php_com_iter_get() argument 144 if (by_ref) { in php_com_iter_get()
|
H A D | com_saproxy.c | 536 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref) in php_com_saproxy_iter_get() argument 542 if (by_ref) { in php_com_saproxy_iter_get()
|
H A D | com_handlers.c | 338 …bool by_ref = (bindptr.lpfuncdesc->lprgelemdescParam[i].paramdesc.wParamFlags & PARAMFLAG_FOUT) !=… in com_method_get() local 339 f.arg_info[i].type = (zend_type) ZEND_TYPE_INIT_NONE(_ZEND_ARG_INFO_FLAGS(by_ref, 0, 0)); in com_method_get()
|
/php-src/ext/intl/common/ |
H A D | common_enum.cpp | 170 zend_class_entry *ce, zval *object, int by_ref) in IntlIterator_get_iterator() argument 172 if (by_ref) { in IntlIterator_get_iterator()
|
/php-src/ext/spl/ |
H A D | spl_heap.c | 1101 static zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) … in spl_heap_get_iterator() argument 1103 if (by_ref) { in spl_heap_get_iterator() 1120 static zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref… in spl_pqueue_get_iterator() argument 1122 if (by_ref) { in spl_pqueue_get_iterator()
|
H A D | spl_array.c | 1524 bool by_ref; member 1572 if (array_iter->by_ref in spl_array_it_get_current_data() 1651 static zend_object_iterator *spl_array_get_iterator(zend_class_entry *ce, zval *object, int by_ref)… in spl_array_get_iterator() argument 1658 iterator->by_ref = by_ref; in spl_array_get_iterator()
|