/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_big5.c | 254 s = 0; in mbfl_filt_conv_wchar_big5() 289 s = 0x80; in mbfl_filt_conv_wchar_big5() 291 s = 0xff; in mbfl_filt_conv_wchar_big5() 293 s = 0xa27e; in mbfl_filt_conv_wchar_big5() 295 s = 0xa2a1; in mbfl_filt_conv_wchar_big5() 297 s = 0xa2a3; in mbfl_filt_conv_wchar_big5() 299 s = 0xa2a2; in mbfl_filt_conv_wchar_big5() 303 if (s <= 0) { in mbfl_filt_conv_wchar_big5() 309 s = 0; in mbfl_filt_conv_wchar_big5() 311 s = -1; in mbfl_filt_conv_wchar_big5() [all …]
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_pam_sha256_public_key_option_invalid.phpt | 50 $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd")… 126 …$file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"… 133 …$file_wrong = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_wrong" , … 172 …$file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"… 174 …$file_wrong = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_wrong" , … 178 Warning: mysqli::real_connect(): (HY000/1045): %s in %s on line %d 179 [200 + 002] [1045] %s 181 Warning: mysqli::real_connect(): (HY000/1045): %s in %s on line %d 182 [300 + 002] [1045] %s 186 Warning: mysqli::real_connect(): (HY000/1045): %s in %s on line %d [all …]
|
H A D | mysqli_kill.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[003] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp); 82 string(%d) "%s" 88 string(%d) "%s" 98 string(%d) "%s" 106 string(5) "%s" 108 string(%d) "%s" 114 string(%d) "%s" 116 %s [all …]
|
H A D | mysqli_stat.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting non empty string, got %s/'%s', [%d] %s\n", 34 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 39 Warning: mysqli_stat(): Couldn't fetch mysqli in %s on line %d
|
H A D | mysqli_autocommit_oo.phpt | 11 …tf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 24 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 29 printf("[002] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error); 35 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 43 printf("[006] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error); 53 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error); 60 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error); 89 printf("[019] Expecting true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_insert_id.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[010] Expecting int/any >0, got %s/%s\n", gettype($last_id), $last_id); 79 … printf("[014] Expecting int/any > %d, got %s/%s\n", $last_id, gettype($next_id), $next_id); 92 … printf("[016] Expecting int/%d, got %s/%s\n", $last_id + 1, gettype($next_id), $next_id); 107 printf("[019] Something is wrong, check manually. Expecting %s got %s.\n", 119 printf("[021] Expecting int/1000, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_get_result_types.phpt | 16 printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 25 …ysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sq… 84 printf("[%04d] [%d] Expecting %s/'%s' [type hint = %s], got %s/'%s'\n", 184 func_mysqli_stmt_get_result($link, $engine, "s", "DATE", NULL, 880); 186 func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900); 187 … func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME NOT NULL", @date('Y-m-d H:i:s'), 920); 190 func_mysqli_stmt_get_result($link, $engine, "s", "TIMESTAMP", @date('Y-m-d H:i:s'), 960); 192 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", @date('H:i:s'), 980); 193 func_mysqli_stmt_get_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000); 194 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", NULL, 1020); [all …]
|
H A D | mysqli_stmt_get_warnings.phpt | 12 …tf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 18 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 33 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 44 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[011] Expecting mysqli_warning object, got %s/%s\n", gettype($warning), $warning); 96 printf("[018] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_change_user_new.phpt | 10 …tf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 24 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 29 printf("[002] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
|
/PHP-7.4/ext/oci8/tests/ |
H A D | lob_029.phpt | 31 @oci_execute($s); 34 @oci_execute($s); 37 oci_execute($s); 44 oci_execute($s); 47 oci_execute($s); 50 oci_execute($s); 53 oci_execute($s); 60 oci_execute($s); 66 oci_execute($s); 75 oci_execute($s); [all …]
|
H A D | bind_char_3.phpt | 36 do_e($s); 44 do_e($s); 53 do_e($s); 63 do_e($s); 72 do_e($s); 81 do_e($s); 90 do_e($s); 101 do_e($s); 109 do_e($s); 119 do_e($s); [all …]
|
/PHP-7.4/tests/security/ |
H A D | open_basedir_symlink.phpt | 55 …open_basedir restriction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s… 58 …: open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s):… 61 …open_basedir restriction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s… 64 …: open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s):… 67 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 70 …nk(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)… 73 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 76 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 79 …nk(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)…
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | finfo_file_002.phpt | 22 ["%s/resources/dir.zip"]=> 24 ["%s/resources/test.awk"]=> 26 ["%s/resources/test.bmp"]=> 28 ["%s/resources/test.gif"]=> 30 ["%s/resources/test.jpg"]=> 32 ["%s/test.json"]=> 34 ["%s/resources/test.mp3"]=> 36 ["%s/resources/test.pdf"]=> 38 ["%s/resources/test.png"]=> 40 ["%s/resources/test.ppt"]=> [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_smart_str.h | 78 char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); in smart_str_extend_ex() 84 if (str->s) { in smart_str_free_ex() 86 str->s = NULL; in smart_str_free_ex() 92 if (str->s) { in smart_str_0() 93 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0() 98 return str->s ? ZSTR_LEN(str->s) : 0; in smart_str_get_len() 102 if (str->s) { in smart_str_extract() 105 res = str->s; in smart_str_extract() 106 str->s = NULL; in smart_str_extract() 121 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex() [all …]
|
/PHP-7.4/ext/phar/tests/ |
H A D | bug69324.phar | 1 …�s:71:"hi there";c��Do߹�#a:2:{i:0;s:2:"hi";i:1;s:5:"there";}d��D…
|
/PHP-7.4/ext/session/tests/ |
H A D | bug50308.phpt | 26 <a href="?PHPSESSID=%s"/> 27 <a href="?PHPSESSID=%s" /> 28 <a href="foo?PHPSESSID=%s"/> 29 <a href="foo?PHPSESSID=%s" /> 30 <a href=foo/?PHPSESSID=%s> 31 <a href="/?PHPSESSID=%s"> 32 <a href=/?PHPSESSID=%s> 33 <a href=?foo=bar/&PHPSESSID=%s> 34 <a href="?foo=bar&PHPSESSID=%s"/> 35 <a href=./?PHPSESSID=%s> [all …]
|
H A D | session_set_save_handler_closures.phpt | 54 string(%d) "%s" 56 Warning: session_module_name(): Cannot find named PHP session module () in %s on line %d 62 Warning: session_module_name(): Cannot find named PHP session module (foo) in %s on line %d 64 Open [%s,PHPSESSID] 65 Read [%s,%s] 74 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;] 75 Close [%s,PHPSESSID] 85 Open [%s,PHPSESSID] 86 Read [%s,%s] 97 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;Bar|s:3:"Foo";] [all …]
|
/PHP-7.4/Zend/tests/typehints/ |
H A D | or_null.phpt | 236 #0 %s(32): unloadedClass(1) 240 #0 %s(38): loadedClass(1) 244 #0 %s(44): loadedInterface(1) 248 #0 %s(52): callableF(1) 252 #0 %s(60): iterableF(1) 260 #0 %s(78): returnUnloadedClass() 264 #0 %s(88): returnLoadedClass() 284 #0 %s(138): returnCallable() 288 #0 %s(148): returnIterable() 292 #0 %s(158): returnInt() [all …]
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fgetss.phpt | 42 Deprecated: Function fgetss() is deprecated in %s on line %d 46 Deprecated: Function fgetss() is deprecated in %s on line %d 49 Deprecated: Function fgetss() is deprecated in %s on line %d 53 Deprecated: Function fgetss() is deprecated in %s on line %d 56 Deprecated: Function fgetss() is deprecated in %s on line %d 59 Deprecated: Function fgetss() is deprecated in %s on line %d 62 Deprecated: Function fgetss() is deprecated in %s on line %d 65 Deprecated: Function fgetss() is deprecated in %s on line %d 68 Deprecated: Function fgetss() is deprecated in %s on line %d 71 Deprecated: Function fgetss() is deprecated in %s on line %d [all …]
|
H A D | touch_variation6-win32.phpt | 172 Warning: touch(): Unable to create file touchVar5.tmp\..\BADDIR\aSubDirOrFile because %s in %s on l… 175 Warning: touch(): Unable to create file BADDIR\aSubDirOrFile because %s in %s on line %d 176 --- testing %s\touchVar5.tmp\aSubDirOrFile --- 182 --- testing %s\BADDIR\aSubDirOrFile --- 184 Warning: touch(): Unable to create file %s\BADDIR\aSubDirOrFile because %s in %s on line %d 187 Warning: touch(): Unable to create file touchVar5.tmp\aSubDirOrFile\ because %s in %s on line %d 188 --- testing %s\touchVar5.tmp\aSubDirOrFile\ --- 190 Warning: touch(): Unable to create file %s\touchVar5.tmp\aSubDirOrFile\ because %s in %s on line %d 195 --- testing /%s/touchVar5.tmp/aSubDirOrFile --- 205 --- testing %s\touchVar5.tmp\aSubDirOrFile --- [all …]
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | php_uname_basic.phpt | 13 echo "\n-- Try all the defined mode's --\n"; 16 var_dump(php_uname('s')); 26 string(%d) "%s" 28 -- Try all the defined mode's -- 29 string(%d) "%s" 30 string(%d) "%s" 31 string(%d) "%s" 32 string(%d) "%s" 33 string(%d) "%s" 34 string(%d) "%s"
|
/PHP-7.4/ext/ftp/tests/ |
H A D | server.inc | 59 fclose($GLOBALS['s']); 94 $buf = fread($s, 2048); 124 fputs($s, "200 OK\r\n"); 125 $buf = fread($s, 2048); 132 fputs($s, "200 OK\r\n"); 134 $buf = fread($s, 2048); 147 fclose($s); 167 fclose($s); 184 fputs($s, " USER\r\n"); 185 fputs($s, " HELP\r\n"); [all …]
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct_uri.phpt | 21 …$uri = sprintf('uri:file://%s', (substr(PHP_OS, 0, 3) == 'WIN' ? str_replace('\\', '/', $file) : $… 32 printf("[002] URI=%s, DSN=%s, File=%s (%d bytes, '%s'), %s\n", 41 fwrite($fp, sprintf('mysql:dbname=letshopeinvalid;%s%s', 53 printf("[003] URI=%s, DSN=%s, File=%s (%d bytes, '%s'), chr(0) test, %s\n", 66 printf("[001] %s, [%s] %s\n", 75 …ri:file://%spdomuri.tst, DSN=mysql%sdbname=%s, File=%spdomuri.tst (%d bytes, 'mysql%sdbname=letsho…
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | bug55798.phpt | 15 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" 17 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}"
|
/PHP-7.4/ext/intl/tests/ |
H A D | transliterator_transliterate_basic.phpt | 8 $s = "Κοντογιαννάτος, Βασίλης"; 9 echo $t->transliterate($s),"\n"; 10 echo transliterator_transliterate($t, $s),"\n"; 11 echo $t->transliterate($s, 3),"\n"; 12 echo $t->transliterate($s, 3, 4),"\n"; 16 Kontogiannátos, Basílēs 17 Kontogiannátos, Basílēs 18 ΚονTogiannátos, Basílēs
|