Home
last modified time | relevance | path

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

12

/php-src/Zend/
H A Dzend_variables.h55 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 Dzend_types.h984 #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 Dzend_operators.c857 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 Dnet.c276 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 Ddns.c948 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 Dpack.c757 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 Dbasic_functions.c1428 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 Ddir.c457 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
H A Ddns_win32.c471 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
/php-src/Zend/Optimizer/
H A Dsccp.c122 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 Dposix.c830 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 Dphpdbg.c487 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 Dphpdbg_utils.c712 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 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()
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 Dzend_persist.c214 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 Dzend_file_cache.c391 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 Dzend_persist_calc.c113 && 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 Dengine_mt19937.c399 zend_hash_str_add(Z_ARR_P(return_value), "__states", strlen("__states"), &t); in PHP_METHOD()
/php-src/sapi/litespeed/
H A Dlsapi_main.c203 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 Dtransliterator_methods.c253 zend_array_destroy( Z_ARR_P(return_value) ); in PHP_FUNCTION()
/php-src/sapi/cgi/
H A Dcgi_main.c659 …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 Dphp_packet_soap.c373 zend_array_destroy(Z_ARR_P(return_value)); in parse_packet_soap()
/php-src/ext/intl/converter/
H A Dconverter.c857 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 Dphp_zip.c1804 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 Dphp_ini.c170 free(Z_ARR_P(zvalue)); in config_zval_dtor()

Completed in 98 milliseconds

12