Home
last modified time | relevance | path

Searched refs:Z_ARR_P (Results 1 – 25 of 42) sorted by relevance

12

/PHP-8.0/Zend/
H A Dzend_variables.h54 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_copy_ctor()
63 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_opt_copy_ctor()
H A Dzend_types.h814 #define Z_ARR_P(zval_p) Z_ARR(*(zval_p)) macro
948 Z_ARR_P(__z) = __arr; \
956 Z_ARR_P(__z) = _arr; \
964 Z_ARR_P(__z) = _arr; \
1350 zend_array *_arr = Z_ARR_P(_zv); \
1380 ZVAL_ARR(_zv, zend_array_dup(Z_ARR_P(_zv)));\
H A Dzend_operators.c756 HashTable *ht = zend_symtable_to_proptable(Z_ARR_P(op)); in convert_to_object()
762 } else if (ht != Z_ARR_P(op)) { in convert_to_object()
953 if (result == op1 && Z_ARR_P(op1) == Z_ARR_P(op2)) { in add_function_array()
958 ZVAL_ARR(result, zend_array_dup(Z_ARR_P(op1))); in add_function_array()
/PHP-8.0/ext/standard/
H A Dnet.c279 zval *iface = zend_hash_str_find(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name)); in PHP_FUNCTION()
285 iface = zend_hash_str_add(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name), &newif); in PHP_FUNCTION()
288 unicast = zend_hash_str_find(Z_ARR_P(iface), "unicast", sizeof("unicast") - 1); in PHP_FUNCTION()
292 unicast = zend_hash_str_add(Z_ARR_P(iface), "unicast", sizeof("unicast") - 1, &newuni); in PHP_FUNCTION()
300 status = zend_hash_str_find(Z_ARR_P(iface), "up", sizeof("up") - 1); in PHP_FUNCTION()
H A Ddns.c934 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
940 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
968 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
985 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
H A Dpack.c873 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
892 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
1188 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
H A Ddir.c521 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
H A Ddns_win32.c464 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
H A Dvar.c899 || UNEXPECTED(Z_TYPE_P(struc) == IS_ARRAY && Z_ARR_P(data) == Z_ARR_P(struc))) { in php_var_serialize_nested_data()
/PHP-8.0/ext/opcache/Optimizer/
H A Dsccp.c124 Z_ARR_P(zv) = zend_new_array(8); in empty_partial_array()
130 Z_ARR_P(dst) = zend_array_dup(Z_ARR_P(src)); in dup_partial_array()
136 Z_ARR_P(zv) = zend_new_array(8); in empty_partial_object()
142 Z_ARR_P(dst) = zend_array_dup(Z_ARR_P(src)); in dup_partial_object()
177 || zend_hash_num_elements(Z_ARR_P(new)) != zend_hash_num_elements(Z_ARR_P(value))) { in set_value()
422 *result = zend_hash_index_find(Z_ARR_P(op1), 0); in fetch_array_elem()
425 *result = zend_hash_index_find(Z_ARR_P(op1), 1); in fetch_array_elem()
505 zend_hash_index_del(Z_ARR_P(result), 0); in ct_eval_del_array_elem()
508 zend_hash_index_del(Z_ARR_P(result), 1); in ct_eval_del_array_elem()
517 zend_symtable_del(Z_ARR_P(result), Z_STR_P(key)); in ct_eval_del_array_elem()
[all …]
/PHP-8.0/ext/posix/
H A Dposix.c823 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
881 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
953 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
1009 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
1125 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
/PHP-8.0/ext/opcache/
H A Dzend_persist.c200 new_ptr = zend_shared_alloc_get_xlat_entry(Z_ARR_P(z)); in zend_persist_zval()
202 Z_ARR_P(z) = new_ptr; in zend_persist_zval()
208 Z_ARR_P(z) = zend_shared_memdup_put(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval()
217 GC_REMOVE_FROM_BUFFER(Z_ARR_P(z)); in zend_persist_zval()
218 Z_ARR_P(z) = zend_shared_memdup_put_free(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval()
H A Dzend_file_cache.c367 if (!IS_SERIALIZED(Z_ARR_P(zv))) {
370 SERIALIZE_PTR(Z_ARR_P(zv));
371 ht = Z_ARR_P(zv);
1150 if (!IS_UNSERIALIZED(Z_ARR_P(zv))) {
1153 UNSERIALIZE_PTR(Z_ARR_P(zv));
1154 ht = Z_ARR_P(zv);
H A Dzend_persist_calc.c117 size = zend_shared_memdup_size(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval_calc()
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_main.c508 …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()
522 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) && in cgi_php_import_environment_variables()
525 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
526 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_ENV])); in cgi_php_import_environment_variables()
529 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in cgi_php_import_environment_variables()
532 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
533 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_SERVER])); in cgi_php_import_environment_variables()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg.c533 return Z_ARR_P(ht_zv); in phpdbg_add_empty_array()
567 if (Z_TYPE_P(option_buffer) == IS_ARRAY && zend_hash_num_elements(Z_ARR_P(option_buffer)) > 0) { in PHP_FUNCTION()
573 ZEND_HASH_FOREACH_VAL(Z_ARR_P(option_buffer), filename) { in PHP_FUNCTION()
588 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename); in PHP_FUNCTION()
604 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename); in PHP_FUNCTION()
624 phpdbg_add_empty_array(Z_ARR_P(return_value), source->op_array.filename), in PHP_FUNCTION()
687 file_ht = insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), last_file); in PHP_FUNCTION()
705 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), fn_name); in PHP_FUNCTION()
H A Dphpdbg_wait.c153 EG(symbol_table) = *Z_ARR_P(zvp); in phpdbg_webdata_decompress()
H A Dphpdbg_utils.c834 spprintf(&decode, 0, "array(%d)", zend_hash_num_elements(Z_ARR_P(zv))); in phpdbg_short_zval_print()
/PHP-8.0/sapi/litespeed/
H A Dlsapi_main.c204 int filter_arg = (Z_ARR_P((zval *)arg) == Z_ARR(PG(http_globals)[TRACK_VARS_ENV])) in add_variable()
223 Z_ARR_P(array_ptr) != Z_ARR(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()
/PHP-8.0/ext/intl/transliterator/
H A Dtransliterator_methods.c256 zend_array_destroy( Z_ARR_P(return_value) ); in PHP_FUNCTION()
/PHP-8.0/ext/soap/
H A Dphp_packet_soap.c373 zend_array_destroy(Z_ARR_P(return_value)); in parse_packet_soap()
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c655 …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()
671 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV])) { in cgi_php_import_environment_variables()
672 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
673 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_ENV])); in cgi_php_import_environment_variables()
/PHP-8.0/ext/intl/converter/
H A Dconverter.c858 zend_array_destroy(Z_ARR_P(return_value)); in PHP_METHOD()
882 zend_array_destroy(Z_ARR_P(return_value)); in PHP_METHOD()
/PHP-8.0/ext/zip/
H A Dphp_zip.c1758 zend_array_destroy(Z_ARR_P(return_value));
1775 zend_array_destroy(Z_ARR_P(return_value));
1780 zend_array_destroy(Z_ARR_P(return_value));
1787 zend_array_destroy(Z_ARR_P(return_value));
/PHP-8.0/main/
H A Dphp_ini.c170 free(Z_ARR_P(zvalue)); in config_zval_dtor()

Completed in 120 milliseconds

12