/PHP-7.2/main/ |
H A D | php_variables.c | 82 zval_dtor(val); in php_register_variable_ex() 113 zval_dtor(val); in php_register_variable_ex() 142 zval_dtor(val); in php_register_variable_ex() 165 zval_dtor(val); in php_register_variable_ex() 204 zval_dtor(val); in php_register_variable_ex() 319 efree(val); in add_post_var() 494 *val++ = '\0'; in SAPI_TREAT_DATA_FUNC() 498 val_len = php_url_decode(val, strlen(val)); in SAPI_TREAT_DATA_FUNC() 499 val = estrndup(val, val_len); in SAPI_TREAT_DATA_FUNC() 503 efree(val); in SAPI_TREAT_DATA_FUNC() [all …]
|
H A D | rfc1867.c | 175 static void safe_php_register_variable_ex(char *var, zval *val, zval *track_vars_array, zend_bool o… in safe_php_register_variable_ex() argument 178 php_register_variable_ex(var, val, track_vars_array); in safe_php_register_variable_ex() 183 static void register_http_post_files_variable(char *strvar, char *val, zval *http_post_files, zend_… in register_http_post_files_variable() argument 185 safe_php_register_variable(strvar, val, strlen(val), http_post_files, override_protection); in register_http_post_files_variable() 189 static void register_http_post_files_variable_ex(char *var, zval *val, zval *http_post_files, zend_… in register_http_post_files_variable_ex() argument 191 safe_php_register_variable_ex(var, val, http_post_files, override_protection); in register_http_post_files_variable_ex()
|
/PHP-7.2/tests/basic/ |
H A D | 022.phpt | 7 cookie1=val1 ; cookie2=val2%20; cookie3=val 3.; cookie 4= value 4 %3B; cookie1=bogus; %20cookie1=i… 19 string(6) "val 3."
|
/PHP-7.2/ext/openssl/ |
H A D | openssl.c | 1684 Z_ADDREF_P(val); in php_openssl_x509_from_zval() 1690 if (!(Z_TYPE_P(val) == IS_STRING || Z_TYPE_P(val) == IS_OBJECT)) { in php_openssl_x509_from_zval() 1712 in = BIO_new_mem_buf(Z_STRVAL_P(val), (int)Z_STRLEN_P(val)); in php_openssl_x509_from_zval() 3255 in = BIO_new_mem_buf(Z_STRVAL_P(val), (int)Z_STRLEN_P(val)); in php_openssl_csr_from_zval() 3768 if ((val = zend_hash_index_find(Z_ARRVAL_P(val), 0)) == NULL) { in php_openssl_evp_from_zval() 3784 Z_ADDREF_P(val); in php_openssl_evp_from_zval() 3820 if (!(Z_TYPE_P(val) == IS_STRING || Z_TYPE_P(val) == IS_OBJECT)) { in php_openssl_evp_from_zval() 3842 in = BIO_new_mem_buf(Z_STRVAL_P(val), (int)Z_STRLEN_P(val)); in php_openssl_evp_from_zval() 3858 in = BIO_new_mem_buf(Z_STRVAL_P(val), (int)Z_STRLEN_P(val)); in php_openssl_evp_from_zval() 5866 unsigned long val; in PHP_FUNCTION() local [all …]
|
/PHP-7.2/ext/exif/ |
H A D | exif.c | 2361 char buffer[64], *val, *name, uname[64]; in add_assoc_image_info() local 2414 if (!(val = info_value->s)) { in add_assoc_image_info() 2415 val = ""; in add_assoc_image_info() 2418 add_index_string(&tmpi, idx++, val); in add_assoc_image_info() 2420 add_assoc_string(&tmpi, name, val); in add_assoc_image_info()
|
/PHP-7.2/ext/session/ |
H A D | session.c | 454 if (val) { in php_session_initialize() 472 zend_string *val; in php_session_save_current_state() local 475 if (val) { in php_session_save_current_state() 480 && !memcmp(ZSTR_VAL(val), ZSTR_VAL(PS(session_vars)), ZSTR_LEN(val)) in php_session_save_current_state() 721 zend_long val; in PHP_INI_MH() local 728 && val >= 22 && val <= PS_MAX_SID_LENGTH) { in PHP_INI_MH() 730 PS(sid_length) = val; in PHP_INI_MH() 741 zend_long val; in PHP_INI_MH() local 748 && val >= 4 && val <=6) { in PHP_INI_MH() 992 p = val; in PS_SERIALIZER_DECODE_FUNC() [all …]
|
/PHP-7.2/ext/phar/ |
H A D | phar_object.c | 827 zval *val; in PHP_METHOD() local 832 if (NULL != (val = zend_hash_str_find(Z_ARRVAL_P(mimeoverride), ext, strlen(ext)))) { in PHP_METHOD() 833 switch (Z_TYPE_P(val)) { in PHP_METHOD() 835 if (Z_LVAL_P(val) == PHAR_MIME_PHP || Z_LVAL_P(val) == PHAR_MIME_PHPS) { in PHP_METHOD() 837 code = (int)Z_LVAL_P(val); in PHP_METHOD() 852 mime_type = Z_STRVAL_P(val); in PHP_METHOD()
|
/PHP-7.2/ext/standard/ |
H A D | string.c | 1234 zend_long val = Z_LVAL_P(tmp); in php_implode() local 1238 if (val <= 0) { in php_implode() 1241 while (val) { in php_implode() 1242 val /= 10; in php_implode() 1264 cptr = zend_print_long_to_buf(cptr, val); in php_implode() 2541 tmp_repl = &Z_ARRVAL_P(repl)->arData[repl_idx].val; 2587 tmp_from = &Z_ARRVAL_P(from)->arData[from_idx].val; 2622 tmp_len = &Z_ARRVAL_P(len)->arData[len_idx].val; 2655 tmp_repl = &Z_ARRVAL_P(repl)->arData[repl_idx].val; 3986 replace_entry = &Z_ARRVAL_P(replace)->arData[replace_idx].val; [all …]
|
/PHP-7.2/ext/session/tests/ |
H A D | bug79091.phpt | 46 public function updateTimestamp($key, $val)
|
/PHP-7.2/ext/spl/ |
H A D | spl_directory.c | 2229 while (Z_ISUNDEF(Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val)) { in spl_filesystem_file_is_empty_line() 2232 first = &Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val; in spl_filesystem_file_is_empty_line()
|
/PHP-7.2/win32/ |
H A D | php_stdint.h | 233 #define INT8_C(val) val##i8 argument 234 #define INT16_C(val) val##i16 argument 235 #define INT32_C(val) val##i32 argument 236 #define INT64_C(val) val##i64 argument 238 #define UINT8_C(val) val##ui8 argument 239 #define UINT16_C(val) val##ui16 argument 240 #define UINT32_C(val) val##ui32 argument 241 #define UINT64_C(val) val##ui64 argument
|
/PHP-7.2/win32/build/ |
H A D | confutils.js | 2314 var cf = val.replace(/\s+/g, " ").split(" "); 2366 var new_val = val; 2369 while (r = reg.exec(val)) { 2373 val = new_val; 2376 val = val.replace(/\/FD /, "") 2393 val = new_val; 2404 val = new_val; 2417 fd.WriteLine(key + "=" + val + " "); 2441 MF.WriteLine(keys[i] + "=" + val + " "); 2445 handle_analyzer_makefile_flags(MF, keys[i], val); [all …]
|
/PHP-7.2/tests/lang/ |
H A D | passByReference_003.phpt | 5 function passbyVal($val) { 7 var_dump($val);
|
H A D | passByReference_005.phpt | 6 function v($val) { 7 $val = "Val changed"; 20 function vr($val, &$ref) { 21 $val = "Val changed"; 25 function rv(&$ref, $val) { 26 $val = "Val changed"; 39 $val = "Val changed"; 43 function v($val) { 44 $val = "Val changed"; 57 $val = "Val changed"; [all …]
|
H A D | foreachLoop.017.phpt | 6 foreach ($a as $val=>$key) echo $key;
|
H A D | each_binary_safety.phpt | 7 while (list($key, $val) = each($arr)) { 9 echo urlencode($key), ' => ', urlencode($val), "\n";
|
/PHP-7.2/ |
H A D | server-tests.php | 125 foreach($w1 as $idx => $val) $w2[sprintf("%03d<",$idx)] = sprintf("%03d- ", $idx+1).$val; 126 foreach($o1 as $idx => $val) $o2[sprintf("%03d>",$idx)] = sprintf("%03d+ ", $idx+1).$val;
|
/PHP-7.2/tests/classes/ |
H A D | __set__get_004.phpt | 18 function __set($name, $val) { 19 $this->x[$name] = $val;
|
H A D | __set__get_005.phpt | 20 function __set($name, $val) { 22 $this->x[$name] = $val; 38 function __set($name, $val) { 40 $this->x[$name] = $val;
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 145 …return memcmp(oldPtr, newPtr, *(size_t *) oldPtr + XtOffsetOf(zend_string, val) - XtOffsetOf(zend_… in phpdbg_check_watch_diff() 203 …zend_write((char *) oldPtr + XtOffsetOf(zend_string, val) - XtOffsetOf(zend_string, len), *(size_t… in phpdbg_print_watch_diff() 209 …zend_write((char *) newPtr + XtOffsetOf(zend_string, val) - XtOffsetOf(zend_string, len), *(size_t… in phpdbg_print_watch_diff() 328 …watch->backup.str = zend_string_init((char *) watch->addr.ptr + XtOffsetOf(zend_string, val) - XtO… 398 …phpdbg_set_addr_watchpoint(&Z_STRLEN_P(watch->addr.zv), XtOffsetOf(zend_string, val) - XtOffsetOf(… 1037 if (!phpdbg_check_watch_diff(WATCH_ON_ZVAL, &watch->backup.bucket.val, watch->addr.ptr)) {
|
H A D | phpdbg_utils.c | 659 zval *val; in phpdbg_xml_var_dump() local 714 ZEND_HASH_FOREACH_KEY_VAL_IND(myht, num, key, val) { in phpdbg_xml_var_dump() 715 element_dump_func(val, key, num); in phpdbg_xml_var_dump()
|
H A D | phpdbg_wait.c | 59 first = &f->val; in phpdbg_array_data_compare() 60 second = &s->val; in phpdbg_array_data_compare()
|
H A D | phpdbg_info.c | 215 … num=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_h… in phpdbg_print_symbols() 316 …d\"", "Literal Constants in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, count); in PHPDBG_INFO() 318 …", "function=\"%s\" num=\"%d\"", "Literal Constants in %s() (%d)", ops->function_name->val, count); in PHPDBG_INFO()
|
H A D | phpdbg_print.c | 273 if (func->type == ZEND_USER_FUNCTION && *rt_name->val == '\0') { in phpdbg_print_opcodes_function() 274 …en && !zend_binary_strcasecmp(function, len, func->op_array.function_name->val, func->op_array.fun… in phpdbg_print_opcodes_function() 275 phpdbg_print_opcodes_function(rt_name->val, rt_name->len); in phpdbg_print_opcodes_function() 291 phpdbg_out("function name: %s::%s (internal)\n", ce->name->val, function); in phpdbg_print_opcodes_method_ce() 299 phpdbg_out("function name: %s::%s\n", ce->name->val, function); in phpdbg_print_opcodes_method_ce() 309 if (ce->type == ZEND_USER_CLASS && *rt_name->val == '\0') { in phpdbg_print_opcodes_method() 310 … == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val, ce->name->len)) { in phpdbg_print_opcodes_method() 367 if (ce->type == ZEND_USER_CLASS && *rt_name->val == '\0') { in phpdbg_print_opcodes_class() 368 … == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val, ce->name->len)) { in phpdbg_print_opcodes_class()
|
/PHP-7.2/scripts/dev/ |
H A D | check_parameters.php | 82 $val = $lines_offset[$mid]; 84 if ($val < $offset) { 91 } else if ($val > $offset) {
|