/php-src/Zend/ |
H A D | zend_variables.h | 55 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_copy_ctor() 64 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_opt_copy_ctor()
|
H A D | zend_types.h | 984 #define Z_ARR_P(zval_p) Z_ARR(*(zval_p)) macro 1118 Z_ARR_P(__z) = __arr; \ 1126 Z_ARR_P(__z) = _arr; \ 1526 zend_array *_arr = Z_ARR_P(__zv); \ 1549 ZVAL_ARR(_zv, zend_array_dup(Z_ARR_P(_zv)));\
|
H A D | zend_operators.c | 857 HashTable *ht = zend_symtable_to_proptable(Z_ARR_P(op)); in convert_to_object() 863 } else if (ht != Z_ARR_P(op)) { in convert_to_object() 1075 if (result == op1 && Z_ARR_P(op1) == Z_ARR_P(op2)) { in add_function_array() 1080 ZVAL_ARR(result, zend_array_dup(Z_ARR_P(op1))); in add_function_array()
|
/php-src/ext/standard/ |
H A D | net.c | 276 zval *iface = zend_hash_str_find(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name)); in PHP_FUNCTION() 282 iface = zend_hash_str_add(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name), &newif); in PHP_FUNCTION() 285 unicast = zend_hash_str_find(Z_ARR_P(iface), "unicast", sizeof("unicast") - 1); in PHP_FUNCTION() 289 unicast = zend_hash_str_add(Z_ARR_P(iface), "unicast", sizeof("unicast") - 1, &newuni); in PHP_FUNCTION() 297 status = zend_hash_str_find(Z_ARR_P(iface), "up", sizeof("up") - 1); in PHP_FUNCTION()
|
H A D | dns.c | 948 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 954 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 982 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 999 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
|
H A D | pack.c | 757 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 881 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 1190 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
|
H A D | basic_functions.c | 1428 zend_hash_update(Z_ARR_P(return_value), ZSTR_KNOWN(ZEND_STR_TYPE), &tmp); 1431 zend_hash_update(Z_ARR_P(return_value), ZSTR_KNOWN(ZEND_STR_MESSAGE), &tmp); 1434 zend_hash_update(Z_ARR_P(return_value), ZSTR_KNOWN(ZEND_STR_FILE), &tmp); 1437 zend_hash_update(Z_ARR_P(return_value), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); 2529 zend_array_destroy(Z_ARR_P(return_value)); 2571 zend_array_destroy(Z_ARR_P(return_value));
|
H A D | dir.c | 457 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
|
H A D | dns_win32.c | 471 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
|
/php-src/Zend/Optimizer/ |
H A D | sccp.c | 122 Z_ARR_P(zv) = zend_new_array(8); in empty_partial_array() 128 Z_ARR_P(dst) = zend_array_dup(Z_ARR_P(src)); in dup_partial_array() 134 Z_ARR_P(zv) = zend_new_array(8); in empty_partial_object() 140 Z_ARR_P(dst) = zend_array_dup(Z_ARR_P(src)); in dup_partial_object() 175 || zend_hash_num_elements(Z_ARR_P(new)) != zend_hash_num_elements(Z_ARR_P(value))) { in set_value() 365 *result = zend_hash_index_find(Z_ARR_P(op1), 0); in fetch_array_elem() 368 *result = zend_hash_index_find(Z_ARR_P(op1), 1); in fetch_array_elem() 453 zend_hash_index_del(Z_ARR_P(result), 0); in ct_eval_del_array_elem() 456 zend_hash_index_del(Z_ARR_P(result), 1); in ct_eval_del_array_elem() 466 zend_hash_index_del(Z_ARR_P(result), lval); in ct_eval_del_array_elem() [all …]
|
/php-src/ext/posix/ |
H A D | posix.c | 830 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 892 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 970 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 1030 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION() 1160 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg.c | 487 return Z_ARR_P(ht_zv); in phpdbg_add_empty_array() 521 if (Z_TYPE_P(option_buffer) == IS_ARRAY && zend_hash_num_elements(Z_ARR_P(option_buffer)) > 0) { in PHP_FUNCTION() 527 ZEND_HASH_FOREACH_VAL(Z_ARR_P(option_buffer), filename) { in PHP_FUNCTION() 542 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename); in PHP_FUNCTION() 558 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename); in PHP_FUNCTION() 578 phpdbg_add_empty_array(Z_ARR_P(return_value), source->op_array.filename), in PHP_FUNCTION() 641 file_ht = insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), last_file); in PHP_FUNCTION() 659 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), fn_name); in PHP_FUNCTION()
|
H A D | phpdbg_utils.c | 712 spprintf(&decode, 0, "array(%d)", zend_hash_num_elements(Z_ARR_P(zv))); in phpdbg_short_zval_print()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 508 …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() 536 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) && in cgi_php_import_environment_variables() 539 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables() 540 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_ENV])); in cgi_php_import_environment_variables() 543 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in cgi_php_import_environment_variables() 546 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables() 547 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_SERVER])); in cgi_php_import_environment_variables()
|
/php-src/ext/opcache/ |
H A D | zend_persist.c | 214 new_ptr = zend_shared_alloc_get_xlat_entry(Z_ARR_P(z)); in zend_persist_zval() 216 Z_ARR_P(z) = new_ptr; in zend_persist_zval() 219 && zend_accel_in_shm(Z_ARR_P(z))) { in zend_persist_zval() 225 ht = zend_shared_memdup_put(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval() 227 GC_REMOVE_FROM_BUFFER(Z_ARR_P(z)); in zend_persist_zval() 228 ht = zend_shared_memdup_put_free(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval() 230 Z_ARR_P(z) = ht; in zend_persist_zval()
|
H A D | zend_file_cache.c | 391 if (!IS_SERIALIZED(Z_ARR_P(zv))) { 394 SERIALIZE_PTR(Z_ARR_P(zv)); 395 ht = Z_ARR_P(zv); 1265 if (!IS_UNSERIALIZED(Z_ARR_P(zv))) { 1268 UNSERIALIZE_PTR(Z_ARR_P(zv)); 1269 ht = Z_ARR_P(zv);
|
H A D | zend_persist_calc.c | 113 && zend_accel_in_shm(Z_ARR_P(z))) { in zend_persist_zval_calc() 116 size = zend_shared_memdup_size(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval_calc()
|
/php-src/ext/random/ |
H A D | engine_mt19937.c | 399 zend_hash_str_add(Z_ARR_P(return_value), "__states", strlen("__states"), &t); in PHP_METHOD()
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 203 int filter_arg = (Z_ARR_P((zval *)arg) == Z_ARR(PG(http_globals)[TRACK_VARS_ENV])) in add_variable() 222 Z_ARR_P(array_ptr) != Z_ARR(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()
|
/php-src/ext/intl/transliterator/ |
H A D | transliterator_methods.c | 253 zend_array_destroy( Z_ARR_P(return_value) ); in PHP_FUNCTION()
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 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() 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()
|
/php-src/ext/soap/ |
H A D | php_packet_soap.c | 373 zend_array_destroy(Z_ARR_P(return_value)); in parse_packet_soap()
|
/php-src/ext/intl/converter/ |
H A D | converter.c | 857 zend_array_destroy(Z_ARR_P(return_value)); in PHP_METHOD() 879 zend_array_destroy(Z_ARR_P(return_value)); in PHP_METHOD()
|
/php-src/ext/zip/ |
H A D | php_zip.c | 1804 zend_array_destroy(Z_ARR_P(return_value)); 1821 zend_array_destroy(Z_ARR_P(return_value)); 1826 zend_array_destroy(Z_ARR_P(return_value)); 1833 zend_array_destroy(Z_ARR_P(return_value));
|
/php-src/main/ |
H A D | php_ini.c | 170 free(Z_ARR_P(zvalue)); in config_zval_dtor()
|