/php-src/docs-old/ |
H A D | input-filter.md | 96 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-src/Zend/ |
H A D | zend_iterators.c | 98 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 D | zend_iterators.h | 89 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr);
|
H A D | zend_vm_def.h | 6815 zval *array_ptr, *result; variable 6822 ZVAL_COPY_VALUE(result, array_ptr); 6824 Z_ADDREF_P(array_ptr); 6856 Z_ADDREF_P(array_ptr); 6892 zval *array_ptr, *array_ref; variable 6899 array_ptr = Z_REFVAL_P(array_ref); 6907 if (array_ptr == array_ref) { 6919 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); 6921 SEPARATE_ARRAY(array_ptr); 6940 if (array_ptr == array_ref) { [all …]
|
H A D | zend_vm_execute.h | 5408 zval *array_ptr, *result; in ZEND_FE_RESET_R_SPEC_CONST_HANDLER() local 5417 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER() 5448 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER() 5510 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_CONST_HANDLER() 5545 Z_OBJ_P(array_ptr)->properties = zend_array_dup(Z_OBJ_P(array_ptr)->properties); in ZEND_FE_RESET_RW_SPEC_CONST_HANDLER() 20140 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_TMP_HANDLER() 20234 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_TMP_HANDLER() 22808 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_VAR_HANDLER() 22903 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_VAR_HANDLER() 41124 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CV_HANDLER() [all …]
|
H A D | zend_execute.c | 5194 static zend_never_inline bool ZEND_FASTCALL zend_fe_reset_iterator(zval *array_ptr, int by_ref OPLI… in zend_fe_reset_iterator() argument 5196 zend_class_entry *ce = Z_OBJCE_P(array_ptr); in zend_fe_reset_iterator() 5197 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, by_ref); in zend_fe_reset_iterator()
|
/php-src/ext/filter/ |
H A D | filter.c | 302 array_ptr = &IF_G(a); \ in php_sapi_filter() 329 if (array_ptr) { in php_sapi_filter() 397 zval *array_ptr = NULL; in php_filter_get_storage() local 401 array_ptr = &IF_G(get_array); in php_filter_get_storage() 404 array_ptr = &IF_G(post_array); in php_filter_get_storage() 407 array_ptr = &IF_G(cookie_array); in php_filter_get_storage() 413 array_ptr = &IF_G(server_array); in php_filter_get_storage() 426 if (array_ptr && Z_TYPE_P(array_ptr) != IS_ARRAY) { in php_filter_get_storage() 431 return array_ptr; in php_filter_get_storage() 440 zval *array_ptr = NULL; in PHP_FUNCTION() local [all …]
|
/php-src/main/ |
H A D | php_variables.h | 33 extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr); 34 extern PHPAPI void (*php_load_environment_variables)(zval *array_ptr);
|
H A D | php_variables.c | 31 static void _php_import_environment_variables(zval *array_ptr); 32 static void _php_load_environment_variables(zval *array_ptr); 33 PHPAPI void (*php_import_environment_variables)(zval *array_ptr) = _php_import_environment_variable… 34 PHPAPI void (*php_load_environment_variables)(zval *array_ptr) = _php_load_environment_variables; 629 static void _php_import_environment_variables(zval *array_ptr) in _php_import_environment_variables() argument 635 import_environment_variable(Z_ARRVAL_P(array_ptr), *env); in _php_import_environment_variables() 642 import_environment_variable(Z_ARRVAL_P(array_ptr), env); in _php_import_environment_variables() 652 static void _php_load_environment_variables(zval *array_ptr) in _php_load_environment_variables() argument 654 php_import_environment_variables(array_ptr); in _php_load_environment_variables()
|
H A D | rfc1867.c | 662 zval *array_ptr = (zval *) arg; local 887 safe_php_register_variable(param, value, new_val_len, array_ptr, 0);
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 507 zval *array_ptr = (zval *) arg; in cgi_php_load_env_var() local 512 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var() 519 zval *array_ptr = (zval *) arg; in cgi_php_load_env_var_unfilterd() local 520 php_register_variable_safe(var, val, val_len, array_ptr); in cgi_php_load_env_var_unfilterd() 523 static void cgi_php_load_environment_variables(zval *array_ptr) in cgi_php_load_environment_variables() argument 525 php_php_import_environment_variables(array_ptr); in cgi_php_load_environment_variables() 531 static void cgi_php_import_environment_variables(zval *array_ptr) in cgi_php_import_environment_variables() argument 539 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables() 546 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables() 552 php_php_import_environment_variables(array_ptr); in cgi_php_import_environment_variables() [all …]
|
/php-src/ext/mbstring/ |
H A D | mb_gpc.c | 165 …_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 257 php_register_variable_safe(ZSTR_VAL(converted_var), val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex() 265 php_register_variable_safe(var, val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 214 static void litespeed_php_import_environment_variables(zval *array_ptr) in litespeed_php_import_environment_variables() argument 222 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) && in litespeed_php_import_environment_variables() 225 zval_ptr_dtor_nogc(array_ptr); in litespeed_php_import_environment_variables() 226 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_ENV]); in litespeed_php_import_environment_variables() 229 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in litespeed_php_import_environment_variables() 232 zval_ptr_dtor_nogc(array_ptr); in litespeed_php_import_environment_variables() 233 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_SERVER]); in litespeed_php_import_environment_variables() 250 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 106 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 : PAR… 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()
|