Home
last modified time | relevance | path

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

/PHP-8.3/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-8.3/Zend/
H A Dzend_iterators.c98 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr) in zend_iterator_unwrap() argument
100 ZEND_ASSERT(Z_TYPE_P(array_ptr) == IS_OBJECT); in zend_iterator_unwrap()
101 if (Z_OBJ_HT_P(array_ptr) == &iterator_object_handlers) { in zend_iterator_unwrap()
102 return (zend_object_iterator *)Z_OBJ_P(array_ptr); in zend_iterator_unwrap()
H A Dzend_iterators.h84 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr);
H A Dzend_vm_def.h6715 zval *array_ptr, *result; variable
6722 ZVAL_COPY_VALUE(result, array_ptr);
6724 Z_ADDREF_P(array_ptr);
6748 Z_ADDREF_P(array_ptr);
6784 zval *array_ptr, *array_ref; variable
6791 array_ptr = Z_REFVAL_P(array_ref);
6799 if (array_ptr == array_ref) {
6811 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr)));
6813 SEPARATE_ARRAY(array_ptr);
6823 if (array_ptr == array_ref) {
[all …]
H A Dzend_vm_execute.h5146 zval *array_ptr, *result; in ZEND_FE_RESET_R_SPEC_CONST_HANDLER() local
5155 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
5178 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
5240 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_CONST_HANDLER()
5266 Z_OBJ_P(array_ptr)->properties = zend_array_dup(Z_OBJ_P(array_ptr)->properties); in ZEND_FE_RESET_RW_SPEC_CONST_HANDLER()
19522 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_TMP_HANDLER()
19608 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_TMP_HANDLER()
22191 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_VAR_HANDLER()
22278 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_VAR_HANDLER()
39923 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CV_HANDLER()
[all …]
H A Dzend_execute.c4962 static zend_never_inline bool ZEND_FASTCALL zend_fe_reset_iterator(zval *array_ptr, int by_ref OPLI… in zend_fe_reset_iterator() argument
4964 zend_class_entry *ce = Z_OBJCE_P(array_ptr); in zend_fe_reset_iterator()
4965 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, by_ref); in zend_fe_reset_iterator()
/PHP-8.3/ext/filter/
H A Dfilter.c306 array_ptr = &IF_G(a); \ in php_sapi_filter()
333 if (array_ptr) { in php_sapi_filter()
401 zval *array_ptr = NULL; in php_filter_get_storage() local
405 array_ptr = &IF_G(get_array); in php_filter_get_storage()
408 array_ptr = &IF_G(post_array); in php_filter_get_storage()
411 array_ptr = &IF_G(cookie_array); in php_filter_get_storage()
417 array_ptr = &IF_G(server_array); in php_filter_get_storage()
430 if (array_ptr && Z_TYPE_P(array_ptr) != IS_ARRAY) { in php_filter_get_storage()
435 return array_ptr; in php_filter_get_storage()
444 zval *array_ptr = NULL; in PHP_FUNCTION() local
[all …]
/PHP-8.3/main/
H A Dphp_variables.h34 extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr);
35 extern PHPAPI void (*php_load_environment_variables)(zval *array_ptr);
H A Dphp_variables.c30 void _php_import_environment_variables(zval *array_ptr);
31 void _php_load_environment_variables(zval *array_ptr);
32 PHPAPI void (*php_import_environment_variables)(zval *array_ptr) = _php_import_environment_variable…
33 PHPAPI void (*php_load_environment_variables)(zval *array_ptr) = _php_load_environment_variables;
627 void _php_import_environment_variables(zval *array_ptr) in _php_import_environment_variables() argument
633 import_environment_variable(Z_ARRVAL_P(array_ptr), *env); in _php_import_environment_variables()
640 import_environment_variable(Z_ARRVAL_P(array_ptr), env); in _php_import_environment_variables()
650 void _php_load_environment_variables(zval *array_ptr) in _php_load_environment_variables() argument
652 php_import_environment_variables(array_ptr); in _php_load_environment_variables()
H A Drfc1867.c661 zval *array_ptr = (zval *) arg; local
877 safe_php_register_variable(param, value, new_val_len, array_ptr, 0);
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_main.c509 zval *array_ptr = (zval *) arg; in cgi_php_load_env_var() local
514 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
521 zval *array_ptr = (zval *) arg; in cgi_php_load_env_var_unfilterd() local
522 php_register_variable_safe(var, val, val_len, array_ptr); in cgi_php_load_env_var_unfilterd()
525 static void cgi_php_load_environment_variables(zval *array_ptr) in cgi_php_load_environment_variables() argument
527 php_php_import_environment_variables(array_ptr); in cgi_php_load_environment_variables()
533 static void cgi_php_import_environment_variables(zval *array_ptr) in cgi_php_import_environment_variables() argument
541 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
548 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
554 php_php_import_environment_variables(array_ptr); in cgi_php_import_environment_variables()
[all …]
/PHP-8.3/ext/mbstring/
H A Dmb_gpc.c173 …_php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *array_ptr, char *res) in _php_mb_encoding_handler_ex() argument
264 php_register_variable_safe(ZSTR_VAL(converted_var), val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
272 php_register_variable_safe(var, val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
/PHP-8.3/sapi/litespeed/
H A Dlsapi_main.c215 static void litespeed_php_import_environment_variables(zval *array_ptr) in litespeed_php_import_environment_variables() argument
223 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) && in litespeed_php_import_environment_variables()
226 zval_ptr_dtor_nogc(array_ptr); in litespeed_php_import_environment_variables()
227 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_ENV]); in litespeed_php_import_environment_variables()
230 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in litespeed_php_import_environment_variables()
233 zval_ptr_dtor_nogc(array_ptr); in litespeed_php_import_environment_variables()
234 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_SERVER]); in litespeed_php_import_environment_variables()
251 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
/PHP-8.3/sapi/cgi/
H A Dcgi_main.c103 static void (*php_php_import_environment_variables)(zval *array_ptr);
655 zval *array_ptr = (zval *) arg; in cgi_php_load_env_var() local
656 …int filter_arg = (Z_ARR_P(array_ptr) == Z_ARR(PG(http_globals)[TRACK_VARS_ENV])) ? PARSE_ENV : PAR… in cgi_php_load_env_var()
660 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
664 static void cgi_php_import_environment_variables(zval *array_ptr) in cgi_php_import_environment_variables() argument
672 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV])) { in cgi_php_import_environment_variables()
673 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
674 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_ENV])); in cgi_php_import_environment_variables()
680 php_php_import_environment_variables(array_ptr); in cgi_php_import_environment_variables()
684 fcgi_loadenv(request, cgi_php_load_env_var, array_ptr); in cgi_php_import_environment_variables()

Completed in 303 milliseconds