/php-src/ext/session/tests/user_session_module/ |
H A D | basic_set_save_handler_test02.phpt | 34 function write($key, $val): bool 36 print "WRITE: $key, $val\n"; 37 $GLOBALS["hnd"]->data = $val;
|
/php-src/ext/json/ |
H A D | json.c | 128 PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth… in php_json_encode_ex() argument 136 return_code = php_json_encode_zval(buf, val, options, &encoder); in php_json_encode_ex() 143 PHP_JSON_API zend_result php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode() argument 145 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
|
H A D | php_json_encoder.h | 36 zend_result php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder);
|
/php-src/ext/gd/libgd/ |
H A D | gd_avif.c | 493 uint32_t val; in gdImageAvifCtx() local 540 val = im->tpixels[y][x]; in gdImageAvifCtx() 542 *(p++) = gdTrueColorGetRed(val); in gdImageAvifCtx() 543 *(p++) = gdTrueColorGetGreen(val); in gdImageAvifCtx() 544 *(p++) = gdTrueColorGetBlue(val); in gdImageAvifCtx() 545 *(p++) = alpha7BitTo8Bit(gdTrueColorGetAlpha(val)); in gdImageAvifCtx()
|
/php-src/ext/standard/tests/array/ |
H A D | bug62607.phpt | 7 array_walk_recursive($arr, function(&$val){});
|
/php-src/ext/filter/ |
H A D | filter.c | 74 static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *n… 287 static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *n… in php_sapi_filter() argument 293 assert(*val != NULL); in php_sapi_filter() 329 ZVAL_STRINGL(&raw_var, *val, val_len); in php_sapi_filter() 336 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter() 339 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter() 353 efree(*val); in php_sapi_filter() 355 *val = estrndup(Z_STRVAL(new_var), Z_STRLEN(new_var)); in php_sapi_filter() 357 *val = estrdup(""); in php_sapi_filter()
|
/php-src/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 294 static bool pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_sqlite_set_attr() argument 301 if (!pdo_get_long_param(&lval, val)) { in pdo_sqlite_set_attr() 307 if (!pdo_get_long_param(&lval, val)) { in pdo_sqlite_set_attr() 317 zval val; member 347 if (Z_ISUNDEF(agg_context->val)) { in do_callback() 348 ZVAL_NEW_REF(&agg_context->val, &EG(uninitialized_zval)); in do_callback() 350 ZVAL_COPY_VALUE(&zargs[0], &agg_context->val); in do_callback() 420 zval_ptr_dtor(&agg_context->val); in do_callback() 429 zval_ptr_dtor(Z_REFVAL(agg_context->val)); in do_callback() 430 ZVAL_COPY_VALUE(Z_REFVAL(agg_context->val), &retval); in do_callback()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 988 val = 0; in apprentice_magic_strength_1() 1010 return val; in apprentice_magic_strength_1() 1031 val += v; in file_magic_strength() 1059 val = 1; in file_magic_strength() 1067 val++; in file_magic_strength() 1070 return val; in file_magic_strength() 2931 int val; in getstr() local 3056 val = (val << 3) | (c - '0'); in getstr() 3059 val = (val << 3) | (c-'0'); in getstr() 3073 val = c; in getstr() [all …]
|
/php-src/Zend/tests/fibers/ |
H A D | return-by-ref.phpt | 2 Fiber function may return by ref, but getReturn() always returns by val
|
/php-src/ext/spl/tests/ |
H A D | heap_it_current_empty.phpt | 10 foreach ($h as $val) { echo 'FAIL'; }
|
/php-src/Zend/tests/ |
H A D | assign_by_val_function_by_ref_return_value.phpt | 2 Return value of assigning by-val function result by-reference
|
H A D | bug33512.phpt | 9 function __set($var, $val) { 10 $this->Var[$var] = $val;
|
H A D | foreach_unset_globals.phpt | 7 foreach ($arr as $key => $val) {
|
H A D | foreach_undefined.phpt | 6 foreach($a as $val);
|
H A D | magic_by_ref_002.phpt | 7 function __set($name, &$val) { }
|
H A D | magic_by_ref_001.phpt | 7 function __set(&$name, $val) { }
|
/php-src/main/ |
H A D | SAPI.h | 171 SAPI_API void sapi_add_request_header(const char *var, unsigned int var_len, char *val, unsigned in… 217 …input_filter(unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, si… 282 …unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val… 315 …C(input_filter) unsigned int input_filter(int arg, const char *var, char **val, size_t val_len, si…
|
/php-src/ext/intl/locale/ |
H A D | locale_methods.c | 409 buflen = uloc_getScript ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal() 415 buflen = uloc_getCountry ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal() 461 tag_value->len = strlen(tag_value->val); in get_icu_value_internal() 1088 token = php_strtok_r( key_value->val , DELIMITER ,&last_ptr); in add_array_entry() 1200 token = php_strtok_r( variant->val , DELIMITER , &saved_ptr); in PHP_FUNCTION() 1312 result = strToMatch( can_lang_tag->val , cur_lang_tag); in PHP_FUNCTION() 1320 result = strToMatch( can_loc_range->val , cur_loc_range ); in PHP_FUNCTION() 1460 if(result != 1 || lang_tag == NULL || !lang_tag->val[0]) { in lookup_loc_range() 1468 result = strToMatch(lang_tag->val, cur_arr[i*2]); in lookup_loc_range() 1481 if( result != 1 || can_loc_range == NULL || !can_loc_range->val[0]) { in lookup_loc_range() [all …]
|
/php-src/ext/standard/ |
H A D | basic_functions.c | 1060 ZVAL_STRING(&val, php_optarg); 1062 ZVAL_FALSE(&val); 1242 if (ZSTR_IS_INTERNED(val)) { \ 1243 ZVAL_INTERNED_STR(zv, val); \ 1244 } else if (ZSTR_LEN(val) == 0) { \ 1246 } else if (ZSTR_LEN(val) == 1) { \ 1251 ZVAL_NEW_STR(zv, zend_string_init(ZSTR_VAL(val), ZSTR_LEN(val), 0)); \ 1891 zend_string *varname, *val; local 1899 if (!val) { 1993 zend_string *val; local [all …]
|
H A D | assert.c | 335 zend_string *val = zval_try_get_string(value); in PHP_FUNCTION() local 336 if (UNEXPECTED(!val)) { in PHP_FUNCTION() 341 zend_alter_ini_entry_ex(key, val, PHP_INI_USER, ZEND_INI_STAGE_ASSERT_OPTIONS, 0); in PHP_FUNCTION() 342 zend_string_release_ex(val, 0); in PHP_FUNCTION()
|
/php-src/ext/intl/converter/ |
H A D | converter.c | 149 static void php_converter_append_toUnicode_target(zval *val, UConverterToUnicodeArgs *args, php_con… in php_converter_append_toUnicode_target() argument 150 switch (Z_TYPE_P(val)) { in php_converter_append_toUnicode_target() 156 zend_long lval = Z_LVAL_P(val); in php_converter_append_toUnicode_target() 178 const char *strval = Z_STRVAL_P(val); in php_converter_append_toUnicode_target() 179 int i = 0, strlen = Z_STRLEN_P(val); in php_converter_append_toUnicode_target() 190 HashTable *ht = Z_ARRVAL_P(val); in php_converter_append_toUnicode_target() 255 switch (Z_TYPE_P(val)) { in php_converter_append_fromUnicode_target() 261 *(args->target++) = Z_LVAL_P(val); in php_converter_append_fromUnicode_target() 266 size_t vallen = Z_STRLEN_P(val); in php_converter_append_fromUnicode_target() 268 args->target = zend_mempcpy(args->target, Z_STRVAL_P(val), vallen); in php_converter_append_fromUnicode_target() [all …]
|
/php-src/ext/dba/ |
H A D | dba_ndbm.c | 87 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 88 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC()
|
/php-src/ext/opcache/tests/opt/ |
H A D | fe_fetch_001.phpt | 14 foreach ($obj as $val)
|
/php-src/ext/pgsql/tests/ |
H A D | bug72195.phpt | 9 $val = [];
|
/php-src/docs-old/ |
H A D | input-filter.md | 100 assert(*val != NULL); 129 Z_STRVAL(new_var) = estrndup(*val, val_len); 139 php_strip_tags(*val, val_len, NULL, NULL, 0); 141 *new_val_len = strlen(*val);
|