Home
last modified time | relevance | path

Searched refs:array_ptr (Results 1 – 14 of 14) sorted by relevance

/PHP-7.4/docs/
H A Dinput-filter.md96 zval *array_ptr = NULL;
105 ALLOC_ZVAL(array_ptr);
106 array_init(array_ptr);
107 INIT_PZVAL(array_ptr);
113 ALLOC_ZVAL(array_ptr);
114 array_init(array_ptr);
115 INIT_PZVAL(array_ptr);
121 ALLOC_ZVAL(array_ptr);
122 array_init(array_ptr);
151 zval *array_ptr = NULL;
[all …]
/PHP-7.4/Zend/
H A Dzend_iterators.c97 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr) in zend_iterator_unwrap() argument
99 ZEND_ASSERT(Z_TYPE_P(array_ptr) == IS_OBJECT); in zend_iterator_unwrap()
100 if (Z_OBJ_HT_P(array_ptr) == &iterator_object_handlers) { in zend_iterator_unwrap()
101 return (zend_object_iterator *)Z_OBJ_P(array_ptr); in zend_iterator_unwrap()
H A Dzend_iterators.h73 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr);
H A Dzend_vm_def.h6294 zval *array_ptr, *result; variable
6301 ZVAL_COPY_VALUE(result, array_ptr);
6303 Z_ADDREF_P(array_ptr);
6317 Z_OBJ_P(array_ptr)->properties = zend_array_dup(Z_OBJ_P(array_ptr)->properties);
6324 Z_ADDREF_P(array_ptr);
6361 zval *array_ptr, *array_ref; variable
6376 if (array_ptr == array_ref) {
6388 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr)));
6390 SEPARATE_ARRAY(array_ptr);
6402 if (array_ptr == array_ref) {
[all …]
H A Dzend_vm_execute.h4127 zval *array_ptr, *result; in ZEND_FE_RESET_R_SPEC_CONST_HANDLER() local
4136 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
4149 Z_OBJ_P(array_ptr)->properties = zend_array_dup(Z_OBJ_P(array_ptr)->properties); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
4156 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
4219 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_CONST_HANDLER()
18246 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_TMP_HANDLER()
18330 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_TMP_HANDLER()
21354 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_VAR_HANDLER()
21439 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_VAR_HANDLER()
37616 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CV_HANDLER()
[all …]
H A Dzend_execute.c4370 static zend_never_inline zend_bool ZEND_FASTCALL zend_fe_reset_iterator(zval *array_ptr, int by_ref… in zend_fe_reset_iterator() argument
4372 zend_class_entry *ce = Z_OBJCE_P(array_ptr); in zend_fe_reset_iterator()
4373 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, by_ref); in zend_fe_reset_iterator()
/PHP-7.4/ext/filter/
H A Dfilter.c435 array_ptr = &IF_G(a); \ in php_sapi_filter()
462 if (array_ptr) { in php_sapi_filter()
530 zval *array_ptr = NULL; in php_filter_get_storage() local
534 array_ptr = &IF_G(get_array); in php_filter_get_storage()
537 array_ptr = &IF_G(post_array); in php_filter_get_storage()
540 array_ptr = &IF_G(cookie_array); in php_filter_get_storage()
546 array_ptr = &IF_G(server_array); in php_filter_get_storage()
564 if (array_ptr && Z_TYPE_P(array_ptr) != IS_ARRAY) { in php_filter_get_storage()
569 return array_ptr; in php_filter_get_storage()
580 zval *array_ptr = NULL; in PHP_FUNCTION() local
[all …]
/PHP-7.4/main/
H A Dphp_variables.h36 extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr);
H A Dphp_variables.c35 void _php_import_environment_variables(zval *array_ptr);
36 PHPAPI void (*php_import_environment_variables)(zval *array_ptr) = _php_import_environment_variable…
590 void _php_import_environment_variables(zval *array_ptr) in _php_import_environment_variables() argument
602 import_environment_variable(Z_ARRVAL_P(array_ptr), *env); in _php_import_environment_variables()
607 import_environment_variable(Z_ARRVAL_P(array_ptr), env); in _php_import_environment_variables()
H A Drfc1867.c691 zval *array_ptr = (zval *) arg; local
889 safe_php_register_variable(param, value, new_val_len, array_ptr, 0);
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_main.c99 static void (*php_php_import_environment_variables)(zval *array_ptr);
512 zval *array_ptr = (zval*)arg; in cgi_php_load_env_var() local
517 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
522 void cgi_php_import_environment_variables(zval *array_ptr) /* {{{ */ in cgi_php_import_environment_variables() argument
527 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) && in cgi_php_import_environment_variables()
530 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
531 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_ENV])); in cgi_php_import_environment_variables()
534 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in cgi_php_import_environment_variables()
537 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
543 php_php_import_environment_variables(array_ptr); in cgi_php_import_environment_variables()
[all …]
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c220 static void litespeed_php_import_environment_variables(zval *array_ptr) in litespeed_php_import_environment_variables() argument
228 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) && in litespeed_php_import_environment_variables()
231 zval_ptr_dtor_nogc(array_ptr); in litespeed_php_import_environment_variables()
232 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_ENV]); in litespeed_php_import_environment_variables()
235 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in litespeed_php_import_environment_variables()
238 zval_ptr_dtor_nogc(array_ptr); in litespeed_php_import_environment_variables()
239 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_SERVER]); in litespeed_php_import_environment_variables()
256 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
/PHP-7.4/ext/mbstring/
H A Dmb_gpc.c189 zval *array_ptr = (zval *) arg; in _php_mb_encoding_handler_ex() local
325 php_register_variable_safe(var, val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c102 static void (*php_php_import_environment_variables)(zval *array_ptr);
658 zval *array_ptr = (zval*)arg; in cgi_php_load_env_var() local
659 …int filter_arg = (Z_ARR_P(array_ptr) == Z_ARR(PG(http_globals)[TRACK_VARS_ENV]))?PARSE_ENV:PARSE_S… in cgi_php_load_env_var()
663 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
667 static void cgi_php_import_environment_variables(zval *array_ptr) in cgi_php_import_environment_variables() argument
675 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV])) { in cgi_php_import_environment_variables()
676 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
677 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_ENV])); in cgi_php_import_environment_variables()
683 php_php_import_environment_variables(array_ptr); in cgi_php_import_environment_variables()
687 fcgi_loadenv(request, cgi_php_load_env_var, array_ptr); in cgi_php_import_environment_variables()

Completed in 187 milliseconds