/PHP-8.1/Zend/ |
H A D | zend_hash.h | 195 _ret = &_ht->arData[_h].val; \ 966 zval *_z = &_p->val; \ 981 _z = &_p->val; \ 1000 i = Z_NEXT(prev->val); \ 1003 Z_NEXT(prev->val) = Z_NEXT(_p->val); \ 1194 ZVAL_NULL(&__fill_bkt->val) 1267 ZVAL_COPY_VALUE(&p->val, zv); in _zend_hash_append_ex() 1279 return &p->val; in _zend_hash_append_ex() 1293 ZVAL_PTR(&p->val, ptr); in _zend_hash_append_ptr_ex() 1305 return &p->val; in _zend_hash_append_ptr_ex() [all …]
|
/PHP-8.1/ext/standard/ |
H A D | assert.c | 292 zend_string *val = zval_try_get_string(value); in PHP_FUNCTION() local 293 if (UNEXPECTED(!val)) { in PHP_FUNCTION() 298 zend_alter_ini_entry_ex(key, val, PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0); in PHP_FUNCTION() 299 zend_string_release_ex(val, 0); in PHP_FUNCTION()
|
H A D | basic_functions.c | 1157 ZVAL_STRING(&val, php_optarg); 1159 ZVAL_FALSE(&val); 1339 if (ZSTR_IS_INTERNED(val)) { \ 1340 ZVAL_INTERNED_STR(zv, val); \ 1341 } else if (ZSTR_LEN(val) == 0) { \ 1343 } else if (ZSTR_LEN(val) == 1) { \ 1348 ZVAL_NEW_STR(zv, zend_string_init(ZSTR_VAL(val), ZSTR_LEN(val), 0)); \ 1969 zend_string *varname, *val; local 1977 if (!val) { 2071 zend_string *val; local [all …]
|
/PHP-8.1/ext/opcache/ |
H A D | zend_persist.c | 151 Z_NEXT(p->val) = HT_HASH(ht, nIndex); in zend_hash_persist() 175 zend_persist_zval(©->val); in zend_persist_ast() 231 zend_persist_zval(&p->val); in zend_persist_zval() 339 zend_persist_zval(&p->val); in zend_persist_backed_enum_table() 500 zend_persist_zval(&p->val); in zend_persist_op_array_ex() 937 Z_PTR(p->val) = prop; in zend_persist_class_entry() 1215 Z_CE(p->val) = zend_persist_class_entry(Z_CE(p->val)); in zend_accel_persist_class_table() 1219 ce = Z_PTR(p->val); in zend_accel_persist_class_table() 1231 ce = Z_PTR(p->val); in zend_accel_persist_class_table() 1247 ce = Z_PTR(p->val); in zend_accel_persist_class_table() [all …]
|
/PHP-8.1/sapi/fpm/fpm/ |
H A D | fpm_main.c | 190 return strcasecmp( ((zend_module_entry *) Z_PTR(f->val))->name, in module_name_cmp() 191 ((zend_module_entry *) Z_PTR(s->val))->name); in module_name_cmp() 511 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var() 512 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var() 1605 char *val; in main() local 1607 if ((val = strchr(php_optarg, '='))) { in main() 1608 val++; in main() 1609 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') { in main() 1612 ini_entries_len += (val - php_optarg); in main() 1615 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg)); in main() [all …]
|
H A D | fpm_sockets.c | 540 int val; in fpm_socket_get_listening_queue() local 541 socklen_t len = sizeof(val); in fpm_socket_get_listening_queue() 544 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLEN, &val, &len)) { in fpm_socket_get_listening_queue() 548 *cur_lq = val; in fpm_socket_get_listening_queue() 552 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLIMIT, &val, &len)) { in fpm_socket_get_listening_queue() 556 *max_lq = val; in fpm_socket_get_listening_queue()
|
/PHP-8.1/Zend/tests/ |
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) { }
|
H A D | bug76800.phpt | 6 foreach($arr as $key => &$val) { // without & will print both keys
|
H A D | bug73663_2.phpt | 11 change(list($val) = $array);
|
/PHP-8.1/ext/session/ |
H A D | mod_user.c | 148 *val = zend_string_copy(Z_STR(retval)); in PS_READ_FUNC() 163 ZVAL_STR_COPY(&args[1], val); in PS_WRITE_FUNC() 258 ZVAL_STR_COPY(&args[1], val); in PS_UPDATE_TIMESTAMP_FUNC()
|
/PHP-8.1/ext/intl/locale/ |
H A D | locale_methods.c | 315 buflen = uloc_getScript ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal() 321 buflen = uloc_getCountry ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal() 367 tag_value->len = strlen(tag_value->val); in get_icu_value_internal() 994 token = php_strtok_r( key_value->val , DELIMITER ,&last_ptr); in add_array_entry() 1106 token = php_strtok_r( variant->val , DELIMITER , &saved_ptr); in PHP_FUNCTION() 1218 result = strToMatch( can_lang_tag->val , cur_lang_tag); in PHP_FUNCTION() 1226 result = strToMatch( can_loc_range->val , cur_loc_range ); in PHP_FUNCTION() 1366 if(result != 1 || lang_tag == NULL || !lang_tag->val[0]) { in lookup_loc_range() 1374 result = strToMatch(lang_tag->val, cur_arr[i*2]); in lookup_loc_range() 1387 if( result != 1 || can_loc_range == NULL || !can_loc_range->val[0]) { in lookup_loc_range() [all …]
|
/PHP-8.1/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 900 val += MULT; in apprentice_magic_strength() 911 val = 0; in apprentice_magic_strength() 915 val += MULT; in apprentice_magic_strength() 925 val -= MULT; in apprentice_magic_strength() 953 val = 1; in apprentice_magic_strength() 960 val++; in apprentice_magic_strength() 961 return val; in apprentice_magic_strength() 2772 int val; in getstr() local 2880 val = (val << 3) | (c - '0'); in getstr() 2883 val = (val << 3) | (c-'0'); in getstr() [all …]
|
/PHP-8.1/ext/pgsql/tests/ |
H A D | bug72195.phpt | 9 $val = [];
|
/PHP-8.1/ext/opcache/tests/opt/ |
H A D | fe_fetch_001.phpt | 14 foreach ($obj as $val)
|
/PHP-8.1/ext/filter/ |
H A D | filter.c | 78 static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *n… 360 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 366 assert(*val != NULL); in php_sapi_filter() 402 ZVAL_STRINGL(&raw_var, *val, val_len); in php_sapi_filter() 409 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter() 412 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter() 426 efree(*val); in php_sapi_filter() 428 *val = estrndup(Z_STRVAL(new_var), Z_STRLEN(new_var)); in php_sapi_filter() 430 *val = estrdup(""); in php_sapi_filter()
|
/PHP-8.1/docs/ |
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);
|
/PHP-8.1/tests/classes/ |
H A D | __set_data_corrupt.phpt | 17 function __set($prop, $val)
|
/PHP-8.1/sapi/cgi/ |
H A D | cgi_main.c | 658 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var() 1589 char **env, *p, *q, *var, *val, *t = buf; local 1594 val = strchr(*env, '='); 1595 if (!val) { /* malformed entry? */ 1598 var_len = val - *env; 1650 val++; 1850 char *val; local 1852 if ((val = strchr(php_optarg, '='))) { 1853 val++; 1854 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') { [all …]
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli_api.c | 386 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(float)); in mysqli_stmt_bind_result_do_bind() 388 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 399 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 423 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(int)); in mysqli_stmt_bind_result_do_bind() 425 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 436 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 489 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 507 if (stmt->result.buf[i].val) { in mysqli_stmt_bind_result_do_bind() 508 efree(stmt->result.buf[i].val); in mysqli_stmt_bind_result_do_bind() 1013 dval = *((double *)stmt->result.buf[i].val); [all …]
|
/PHP-8.1/ext/session/tests/ |
H A D | 005.phpt | 36 function write($key, $val): bool 38 print "WRITE: $key, $val\n"; 39 $GLOBALS["hnd"]->data = $val;
|
H A D | 025.phpt | 37 function write($key, $val): bool 39 print "WRITE: $key, $val\n"; 40 $GLOBALS["hnd"]->data = $val;
|
/PHP-8.1/main/ |
H A D | fastcgi.c | 175 char *val; member 339 p->val = fcgi_hash_strndup(h, val, val_len); in fcgi_hash_set() 340 return p->val; in fcgi_hash_set() 361 p->val = fcgi_hash_strndup(h, val, val_len); in fcgi_hash_set() 362 return p->val; in fcgi_hash_set() 394 return p->val; in fcgi_hash_get() 406 if (EXPECTED(p->val != NULL)) { in fcgi_hash_apply() 1694 if (val == NULL) { 1698 …gi_hash_set(&req->env, FCGI_HASH_FUNC(var, var_len), var, var_len, val, (unsigned int)strlen(val)); 1704 if (val == NULL) { [all …]
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | bug72622.phpt | 7 array_walk($arr, function (&$val, $name) {
|