Home
last modified time | relevance | path

Searched refs:by_ref (Results 1 – 25 of 37) sorted by relevance

12

/php-src/ext/standard/tests/general_functions/
H A Dcall_user_func_array_variation_001.phpt10 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 Dinvalid_pass_by_ref.phpt6 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 Dwrong_inlining_005.phpt8 function by_ref(&$var)
17 by_ref(get_array()[0]);
/php-src/Zend/
H A Dzend_property_hooks.c27 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 Dzend_property_hooks.h37 …d_object_iterator *zend_hooked_object_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
H A Dzend_interfaces.c213 …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 Dzend_interfaces.h70 …end_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref);
H A Dzend_compile.c3108 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 Dbreakiterator_iterators.h37 zend_class_entry *ce, zval *object, int by_ref);
H A Dbreakiterator_iterators.cpp94 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 Diterators.c90 int by_ref in test_traversable_get_iterator() argument
94 if (by_ref) { in test_traversable_get_iterator()
/php-src/ext/mysqli/
H A Dmysqli_result_iterator.c42 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 Dphp_mysqli_structs.h149 …nd_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
/php-src/ext/dom/
H A Dtoken_list.h42 zend_object_iterator *dom_token_list_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
H A Ddom_iterators.c250 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 Dtoken_list.c710 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 Dphp_dom.h156 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
/php-src/ext/pdo/
H A Dphp_pdo_int.h39 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref);
/php-src/ext/com_dotnet/
H A Dphp_com_dotnet_internal.h80 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 Dcom_iterator.c134 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 Dcom_saproxy.c536 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 Dcom_handlers.c338 …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 Dcommon_enum.cpp170 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 Dspl_heap.c1101 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 Dspl_array.c1524 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()

Completed in 85 milliseconds

12