/PHP-7.4/Zend/ |
H A D | zend_hash.h | 195 _ret = &_ht->arData[_h].val; \ 920 zval *_z = &_p->val; \ 933 _z = &_p->val; \ 952 i = Z_NEXT(prev->val); \ 955 Z_NEXT(prev->val) = Z_NEXT(_p->val); \ 1084 ZVAL_NULL(&__fill_bkt->val) 1126 ZVAL_COPY_VALUE(&p->val, zv); in _zend_hash_append_ex() 1138 return &p->val; in _zend_hash_append_ex() 1152 ZVAL_PTR(&p->val, ptr); in _zend_hash_append_ptr_ex() 1164 return &p->val; in _zend_hash_append_ptr_ex() [all …]
|
H A D | zend_string.c | 137 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup_ex() 157 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup() 167 zval val; in zend_add_interned_string() local 172 ZVAL_INTERNED_STR(&val, str); in zend_add_interned_string() 174 zend_hash_add_new(interned_strings, str, &val); in zend_add_interned_string()
|
/PHP-7.4/Zend/tests/ |
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 | debug_info.phpt | 17 public $val = 123;
|
/PHP-7.4/ext/json/ |
H A D | json.c | 193 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth) /* {{{… in php_json_encode_ex() argument 201 return_code = php_json_encode_zval(buf, val, options, &encoder); in php_json_encode_ex() 208 PHP_JSON_API int php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode() argument 210 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
|
/PHP-7.4/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()
|
H A D | session.c | 453 if (val) { in php_session_initialize() 471 zend_string *val; in php_session_save_current_state() local 474 if (val) { in php_session_save_current_state() 479 && !memcmp(ZSTR_VAL(val), ZSTR_VAL(PS(session_vars)), ZSTR_LEN(val)) in php_session_save_current_state() 720 zend_long val; in PHP_INI_MH() local 727 && val >= 22 && val <= PS_MAX_SID_LENGTH) { in PHP_INI_MH() 729 PS(sid_length) = val; in PHP_INI_MH() 740 zend_long val; in PHP_INI_MH() local 747 && val >= 4 && val <=6) { in PHP_INI_MH() 992 p = val; in PS_SERIALIZER_DECODE_FUNC() [all …]
|
/PHP-7.4/tests/classes/ |
H A D | __set_data_corrupt.phpt | 17 function __set($prop, $val)
|
/PHP-7.4/ext/opcache/ |
H A D | zend_persist_calc.c | 84 zend_persist_zval_calc(&((zend_ast_zval*)(ast))->val); in zend_persist_ast_calc() 126 zend_persist_zval_calc(&p->val); in zend_persist_zval_calc() 175 zend_persist_zval_calc(&p->val); in zend_persist_op_array_calc_ex() 378 zend_persist_class_method_calc(&p->val); in zend_persist_class_entry_calc() 402 zend_persist_class_constant_calc(&p->val); in zend_persist_class_entry_calc() 416 zend_persist_property_info_calc(&p->val); in zend_persist_class_entry_calc() 497 zend_persist_class_entry_calc(&p->val); in zend_accel_persist_class_table_calc() 540 zend_persist_op_array_calc(&p->val); in zend_accel_script_persist_calc()
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 194 return strcasecmp( ((zend_module_entry *) Z_PTR(f->val))->name, in module_name_cmp() 195 ((zend_module_entry *) Z_PTR(s->val))->name); in module_name_cmp() 516 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var() 517 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var() 1612 char *val; in main() local 1614 if ((val = strchr(php_optarg, '='))) { in main() 1615 val++; in main() 1616 if (!isalnum(*val) && *val != '"' && *val != '\'' && *val != '\0') { in main() 1619 ini_entries_len += (val - php_optarg); in main() 1622 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, val, len - (val - php_optarg)); in main() [all …]
|
H A D | fpm_sockets.c | 532 int val; in fpm_socket_get_listening_queue() local 533 socklen_t len = sizeof(val); in fpm_socket_get_listening_queue() 536 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLEN, &val, &len)) { in fpm_socket_get_listening_queue() 540 *cur_lq = val; in fpm_socket_get_listening_queue() 544 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLIMIT, &val, &len)) { in fpm_socket_get_listening_queue() 548 *max_lq = val; in fpm_socket_get_listening_queue()
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | extract_error.phpt | 18 $val = 1; 19 var_dump( extract($val) );
|
H A D | array_fill_keys_variation3.phpt | 5 /* Prototype : proto array array_fill_keys(array keys, mixed val) 6 …cription: Create an array using the elements of the first parameter as keys each initialized to val
|
H A D | bug72622.phpt | 7 array_walk($arr, function (&$val, $name) {
|
H A D | array_fill_keys_variation1.phpt | 5 /* Prototype : proto array array_fill_keys(array keys, mixed val) 6 …cription: Create an array using the elements of the first parameter as keys each initialized to val
|
H A D | array_fill_keys_variation2.phpt | 5 /* Prototype : proto array array_fill_keys(array keys, mixed val) 6 …cription: Create an array using the elements of the first parameter as keys each initialized to val
|
/PHP-7.4/ext/intl/locale/ |
H A D | locale_methods.c | 321 buflen = uloc_getScript ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal() 327 buflen = uloc_getCountry ( mod_loc_name , tag_value->val , tag_value_len , &status); in get_icu_value_internal() 373 tag_value->len = strlen(tag_value->val); in get_icu_value_internal() 1057 token = php_strtok_r( key_value->val , DELIMITER ,&last_ptr); in add_array_entry() 1185 token = php_strtok_r( variant->val , DELIMITER , &saved_ptr); in PHP_FUNCTION() 1306 result = strToMatch( can_lang_tag->val , cur_lang_tag); in PHP_FUNCTION() 1314 result = strToMatch( can_loc_range->val , cur_loc_range ); in PHP_FUNCTION() 1454 if(result != 1 || lang_tag == NULL || !lang_tag->val[0]) { in lookup_loc_range() 1462 result = strToMatch(lang_tag->val, cur_arr[i*2]); in lookup_loc_range() 1475 if( result != 1 || can_loc_range == NULL || !can_loc_range->val[0]) { in lookup_loc_range() [all …]
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli_api.c | 422 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 433 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 457 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(int)); in mysqli_stmt_bind_result_do_bind() 459 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 472 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 530 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 548 if (stmt->result.buf[i].val) { in mysqli_stmt_bind_result_do_bind() 549 efree(stmt->result.buf[i].val); in mysqli_stmt_bind_result_do_bind() 987 uval= *(unsigned int *) stmt->result.buf[i].val; 1023 dval = *((double *)stmt->result.buf[i].val); [all …]
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 863 val += MULT; in apprentice_magic_strength() 874 val = 0; in apprentice_magic_strength() 878 val += MULT; in apprentice_magic_strength() 888 val -= MULT; in apprentice_magic_strength() 916 val = 1; in apprentice_magic_strength() 923 val++; in apprentice_magic_strength() 924 return val; in apprentice_magic_strength() 2700 int val; in getstr() local 2808 val = (val << 3) | (c - '0'); in getstr() 2811 val = (val << 3) | (c-'0'); in getstr() [all …]
|
/PHP-7.4/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-7.4/ext/spl/tests/ |
H A D | iterator_071.phpt | 21 foreach ($recItIt as $key => $val) echo "$key\n";
|
/PHP-7.4/ext/dba/ |
H A D | dba_flatfile.c | 85 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 97 php_error_docref2(NULL, key, val, E_WARNING, "Unknown return value"); in DBA_UPDATE_FUNC()
|
/PHP-7.4/ext/session/tests/ |
H A D | 005.phpt | 34 function write($key, $val) 36 print "WRITE: $key, $val\n"; 37 $GLOBALS["hnd"]->data = $val;
|
H A D | 025.phpt | 35 function write($key, $val) 37 print "WRITE: $key, $val\n"; 38 $GLOBALS["hnd"]->data = $val;
|