Home
last modified time | relevance | path

Searched refs:zvalue (Results 1 – 16 of 16) sorted by relevance

/PHP-8.0/Zend/
H A Dzend_variables.h51 static zend_always_inline void zval_copy_ctor(zval *zvalue) in zval_copy_ctor() argument
53 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in zval_copy_ctor()
54 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_copy_ctor()
55 } else if (Z_REFCOUNTED_P(zvalue)) { in zval_copy_ctor()
56 Z_ADDREF_P(zvalue); in zval_copy_ctor()
62 if (Z_OPT_TYPE_P(zvalue) == IS_ARRAY) { in zval_opt_copy_ctor()
63 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_opt_copy_ctor()
64 } else if (Z_OPT_REFCOUNTED_P(zvalue)) { in zval_opt_copy_ctor()
65 Z_ADDREF_P(zvalue); in zval_opt_copy_ctor()
80 ZEND_API void zval_internal_ptr_dtor(zval *zvalue);
[all …]
H A Dzend_variables.c124 ZEND_API void ZEND_FASTCALL zval_copy_ctor_func(zval *zvalue) in zval_copy_ctor_func() argument
126 if (EXPECTED(Z_TYPE_P(zvalue) == IS_ARRAY)) { in zval_copy_ctor_func()
127 ZVAL_ARR(zvalue, zend_array_dup(Z_ARRVAL_P(zvalue))); in zval_copy_ctor_func()
128 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_STRING)) { in zval_copy_ctor_func()
129 ZEND_ASSERT(!ZSTR_IS_INTERNED(Z_STR_P(zvalue))); in zval_copy_ctor_func()
130 CHECK_ZVAL_STRING(Z_STR_P(zvalue)); in zval_copy_ctor_func()
131 ZVAL_NEW_STR(zvalue, zend_string_dup(Z_STR_P(zvalue), 0)); in zval_copy_ctor_func()
/PHP-8.0/ext/curl/
H A Dshare.c57 static int _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_valu… in _php_curl_share_setopt() argument
64 error = curl_share_setopt(sh->share, option, zval_get_long(zvalue)); in _php_curl_share_setopt()
82 zval *z_sh, *zvalue; in PHP_FUNCTION() local
89 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
94 if (!_php_curl_share_setopt(sh, options, zvalue, return_value)) { in PHP_FUNCTION()
H A Dinterface.c2216 lval = zval_get_long(zvalue); in _php_curl_setopt()
2368 lval = zval_get_long(zvalue); in _php_curl_setopt()
2383 if (!zend_is_true(zvalue)) { in _php_curl_setopt()
2490 if (Z_ISNULL_P(zvalue)) { in _php_curl_setopt()
2683 ph = Z_ARRVAL_P(zvalue); in _php_curl_setopt()
2713 lval = zend_is_true(zvalue); in _php_curl_setopt()
2769 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2829 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2842 if (Z_TYPE_P(zvalue) == IS_OBJECT && Z_OBJCE_P(zvalue) == curl_share_ce) { in _php_curl_setopt()
2890 zval *zid, *zvalue; in PHP_FUNCTION() local
[all …]
H A Dmulti.c433 static int _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, zval *return_value… in _php_curl_multi_setopt() argument
448 zend_long lval = zval_get_long(zvalue); in _php_curl_multi_setopt()
469 ZVAL_COPY(&mh->handlers->server_push->func_name, zvalue); in _php_curl_multi_setopt()
493 zval *z_mh, *zvalue; in PHP_FUNCTION() local
500 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
505 if (!_php_curl_multi_setopt(mh, options, zvalue, return_value)) { in PHP_FUNCTION()
/PHP-8.0/
H A D.gdbinit47 printzv $zvalue
95 set $type = $zvalue->u1.v.type
112 ____print_str $zvalue->value.str->val $zvalue->value.str->len
115 printf "array(%d)[%p]", $zvalue->value.arr->nNumOfElements, $zvalue
118 printf "object[%p]", $zvalue
162 set $zvalue = $arg0
163 set $type = $zvalue->u1.v.type
210 set $zobj = $zvalue->value.obj
279 set $zvalue = $arg0
281 printf "[%p] ", $zvalue
[all …]
/PHP-8.0/ext/json/
H A Djson_parser.y220 static int php_json_parser_array_append(php_json_parser *parser, zval *array, zval *zvalue) in php_json_parser_array_append() argument
222 zend_hash_next_index_insert(Z_ARRVAL_P(array), zvalue); in php_json_parser_array_append()
236 …hp_json_parser_object_update(php_json_parser *parser, zval *object, zend_string *key, zval *zvalue) in php_json_parser_object_update() argument
240 zend_symtable_update(Z_ARRVAL_P(object), key, zvalue); in php_json_parser_object_update()
245 zval_ptr_dtor_nogc(zvalue); in php_json_parser_object_update()
249 zend_std_write_property(Z_OBJ_P(object), key, zvalue, NULL); in php_json_parser_object_update()
250 Z_TRY_DELREF_P(zvalue); in php_json_parser_object_update()
H A Dphp_json_parser.h28 php_json_parser *parser, zval *array, zval *zvalue);
36 php_json_parser *parser, zval *object, zend_string *key, zval *zvalue);
/PHP-8.0/main/
H A Dphp_ini.c166 PHPAPI void config_zval_dtor(zval *zvalue) in config_zval_dtor() argument
168 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in config_zval_dtor()
169 zend_hash_destroy(Z_ARRVAL_P(zvalue)); in config_zval_dtor()
170 free(Z_ARR_P(zvalue)); in config_zval_dtor()
171 } else if (Z_TYPE_P(zvalue) == IS_STRING) { in config_zval_dtor()
172 zend_string_release_ex(Z_STR_P(zvalue), 1); in config_zval_dtor()
H A Dphp_ini.h23 PHPAPI void config_zval_dtor(zval *zvalue);
H A Dfastcgi.c1732 zval zvalue; local
1734 ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1));
1736 GC_MAKE_PERSISTENT_LOCAL(Z_STR(zvalue));
1737 zend_hash_add(&fcgi_mgmt_vars, key, &zvalue);
/PHP-8.0/ext/com_dotnet/
H A Dcom_variant.c430 zval *zvalue = NULL; in PHP_METHOD() local
439 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_METHOD()
450 if (zvalue) { in PHP_METHOD()
451 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page); in PHP_METHOD()
497 zval *zobj, *zvalue = NULL; in PHP_FUNCTION() local
501 "Oz!", &zobj, php_com_variant_class_entry, &zvalue)) { in PHP_FUNCTION()
520 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page); in PHP_FUNCTION()
/PHP-8.0/ext/intl/calendar/
H A Dcalendar_methods.cpp414 zval *zvalue; in PHP_FUNCTION() local
418 …ameters(ZEND_NUM_ARGS(), getThis(), "Olz", &object, Calendar_ce_ptr, &field, &zvalue) == FAILURE) { in PHP_FUNCTION()
426 if (Z_TYPE_P(zvalue) == IS_FALSE || Z_TYPE_P(zvalue) == IS_TRUE) { in PHP_FUNCTION()
427 value = Z_TYPE_P(zvalue) == IS_TRUE ? 1 : -1; in PHP_FUNCTION()
429 value = zval_get_long(zvalue); in PHP_FUNCTION()
/PHP-8.0/ext/standard/
H A Dbrowscap.c68 static void browscap_entry_dtor(zval *zvalue)
70 browscap_entry *entry = Z_PTR_P(zvalue);
78 static void browscap_entry_dtor_persistent(zval *zvalue) in browscap_entry_dtor_persistent() argument
80 browscap_entry *entry = Z_PTR_P(zvalue); in browscap_entry_dtor_persistent()
H A Dstreamsfuncs.c1003 zval *zvalue = NULL; in PHP_FUNCTION() local
1010 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
1025 if (zvalue) { in PHP_FUNCTION()
1036 if (!zvalue) { in PHP_FUNCTION()
1041 …RETURN_BOOL(php_stream_context_set_option(context, ZSTR_VAL(wrappername), optionname, zvalue) == S… in PHP_FUNCTION()
/PHP-8.0/ext/opcache/Optimizer/
H A Dzend_optimizer.c35 static void zend_optimizer_zval_dtor_wrapper(zval *zvalue) in zend_optimizer_zval_dtor_wrapper() argument
37 zval_ptr_dtor_nogc(zvalue); in zend_optimizer_zval_dtor_wrapper()

Completed in 51 milliseconds