Home
last modified time | relevance | path

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

12

/PHP-8.1/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-8.1/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) cannot be passed by reference
/PHP-8.1/ext/opcache/tests/
H A Dwrong_inlining_005.phpt8 function by_ref(&$var)
17 by_ref(get_array()[0]);
/PHP-8.1/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-8.1/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-8.1/ext/mysqli/
H A Dmysqli_result_iterator.c43 zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in php_mysqli_result_get_iterator() argument
47 if (by_ref) { in php_mysqli_result_get_iterator()
H A Dphp_mysqli_structs.h167 …nd_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
/PHP-8.1/ext/pdo/
H A Dphp_pdo_int.h40 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref);
/PHP-8.1/ext/com_dotnet/
H A Dphp_com_dotnet_internal.h79 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.c529 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref) in php_com_saproxy_iter_get() argument
535 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-8.1/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-8.1/Zend/
H A Dzend_interfaces.h61 …end_object_iterator *zend_user_it_get_new_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_compile.c4989 by_ref = 0; in zend_compile_return()
5009 if (by_ref) { in zend_compile_return()
5027 if (by_ref && expr_ast) { in zend_compile_return()
5365 if (by_ref) { in zend_compile_foreach()
5370 by_ref = 1; in zend_compile_foreach()
5379 if (by_ref) { in zend_compile_foreach()
5402 } else if (by_ref) { in zend_compile_foreach()
9414 bool by_ref; in zend_compile_array() local
9435 by_ref = elem_ast->attr; in zend_compile_array()
9443 if (by_ref) { in zend_compile_array()
[all …]
H A Dzend.h193 zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref);
H A Dzend_generators.c1087 zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /… in zend_generator_get_iterator() argument
1097 …if (UNEXPECTED(by_ref) && !(generator->execute_data->func->op_array.fn_flags & ZEND_ACC_RETURN_REF… in zend_generator_get_iterator()
/PHP-8.1/ext/dom/
H A Ddom_iterators.c257 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ in php_dom_get_iterator() argument
267 if (by_ref) { in php_dom_get_iterator()
H A Dphp_dom.h139 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
/PHP-8.1/ext/spl/
H A Dspl_heap.c1103 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ … in spl_heap_get_iterator() argument
1108 if (by_ref) { in spl_heap_get_iterator()
1128 zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{… in spl_pqueue_get_iterator() argument
1133 if (by_ref) { in spl_pqueue_get_iterator()
H A Dspl_array.c80 bool by_ref; member
1032 if (array_iter->by_ref in spl_array_it_get_current_data()
1187 zend_object_iterator *spl_array_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{… in spl_array_get_iterator() argument
1192 if (by_ref && (array_object->ar_flags & SPL_ARRAY_OVERLOADED_CURRENT)) { in spl_array_get_iterator()
1205 iterator->by_ref = by_ref; in spl_array_get_iterator()
H A Dspl_fixedarray.c918 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in spl_fixedarray_get_iterator() argument
922 if (by_ref) { in spl_fixedarray_get_iterator()
H A Dspl_dllist.c1238 zend_object_iterator *spl_dllist_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{… in spl_dllist_get_iterator() argument
1243 if (by_ref) { in spl_dllist_get_iterator()

Completed in 83 milliseconds

12