Home
last modified time | relevance | path

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

/PHP-8.3/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.3/ext/curl/
H A Dshare.c56 static bool _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_val… in _php_curl_share_setopt() argument
63 error = curl_share_setopt(sh->share, option, zval_get_long(zvalue)); in _php_curl_share_setopt()
81 zval *z_sh, *zvalue; in PHP_FUNCTION() local
88 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
93 if (_php_curl_share_setopt(sh, options, zvalue, return_value)) { in PHP_FUNCTION()
H A Dinterface.c1669 lval = zval_get_long(zvalue); in _php_curl_setopt()
1856 lval = zval_get_long(zvalue); in _php_curl_setopt()
1871 if (!zend_is_true(zvalue)) { in _php_curl_setopt()
2013 if (Z_ISNULL_P(zvalue)) { in _php_curl_setopt()
2204 ph = Z_ARRVAL_P(zvalue); in _php_curl_setopt()
2234 lval = zend_is_true(zvalue); in _php_curl_setopt()
2303 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2378 if (zend_is_true(zvalue)) { in _php_curl_setopt()
2391 if (Z_TYPE_P(zvalue) == IS_OBJECT && Z_OBJCE_P(zvalue) == curl_share_ce) { in _php_curl_setopt()
2465 zval *zid, *zvalue; in PHP_FUNCTION() local
[all …]
H A Dmulti.c448 static bool _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, zval *return_valu… in _php_curl_multi_setopt() argument
466 zend_long lval = zval_get_long(zvalue); in _php_curl_multi_setopt()
487 ZVAL_COPY(&mh->handlers.server_push->func_name, zvalue); in _php_curl_multi_setopt()
510 zval *z_mh, *zvalue; in PHP_FUNCTION() local
517 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
522 if (_php_curl_multi_setopt(mh, options, zvalue, return_value)) { in PHP_FUNCTION()
/PHP-8.3/
H A D.gdbinit47 printzv $zvalue
95 set $type = $zvalue->u1.v.type
112 ____print_str (char*)$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.3/ext/json/
H A Djson_parser.y221 static int php_json_parser_array_append(php_json_parser *parser, zval *array, zval *zvalue) in php_json_parser_array_append() argument
223 zend_hash_next_index_insert(Z_ARRVAL_P(array), zvalue); in php_json_parser_array_append()
237 …hp_json_parser_object_update(php_json_parser *parser, zval *object, zend_string *key, zval *zvalue) in php_json_parser_object_update() argument
241 zend_symtable_update(Z_ARRVAL_P(object), key, zvalue); in php_json_parser_object_update()
246 zval_ptr_dtor_nogc(zvalue); in php_json_parser_object_update()
250 zend_std_write_property(Z_OBJ_P(object), key, zvalue, NULL); in php_json_parser_object_update()
251 Z_TRY_DELREF_P(zvalue); in php_json_parser_object_update()
264 static int php_json_parser_array_append_validate(php_json_parser *parser, zval *array, zval *zvalue) in php_json_parser_array_append_validate() argument
275 …arser_object_update_validate(php_json_parser *parser, zval *object, zend_string *key, zval *zvalue) in php_json_parser_object_update_validate() argument
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.3/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.c1742 zval zvalue; local
1744 ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1));
1746 GC_MAKE_PERSISTENT_LOCAL(Z_STR(zvalue));
1747 zend_hash_add(&fcgi_mgmt_vars, key, &zvalue);
/PHP-8.3/ext/com_dotnet/
H A Dcom_variant.c441 zval *zvalue = NULL; in PHP_METHOD() local
450 "z!|ll", &zvalue, &vt, &codepage)) { in PHP_METHOD()
461 if (zvalue) { in PHP_METHOD()
462 php_com_variant_from_zval_ex(&obj->v, zvalue, obj->code_page, vt); in PHP_METHOD()
508 zval *zobj, *zvalue = NULL; in PHP_FUNCTION() local
512 "Oz!", &zobj, php_com_variant_class_entry, &zvalue)) { in PHP_FUNCTION()
531 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page); in PHP_FUNCTION()
/PHP-8.3/ext/intl/calendar/
H A Dcalendar_methods.cpp465 zval *zvalue; in PHP_FUNCTION() local
469 …ameters(ZEND_NUM_ARGS(), getThis(), "Olz", &object, Calendar_ce_ptr, &field, &zvalue) == FAILURE) { in PHP_FUNCTION()
477 if (Z_TYPE_P(zvalue) == IS_FALSE || Z_TYPE_P(zvalue) == IS_TRUE) { in PHP_FUNCTION()
478 value = Z_TYPE_P(zvalue) == IS_TRUE ? 1 : -1; in PHP_FUNCTION()
481 value = zval_get_long(zvalue); in PHP_FUNCTION()
/PHP-8.3/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.c1028 zval *zvalue = NULL; in PHP_FUNCTION() local
1035 Z_PARAM_ZVAL(zvalue) in PHP_FUNCTION()
1050 if (zvalue) { in PHP_FUNCTION()
1061 if (!zvalue) { in PHP_FUNCTION()
1065 php_stream_context_set_option(context, ZSTR_VAL(wrappername), optionname, zvalue); in PHP_FUNCTION()

Completed in 65 milliseconds