/PHP-7.4/ext/soap/tests/bugs/ |
H A D | bug69085.phpt | 2 Bug #69085 (SoapClient's __call() type confusion through unserialize()) 10 …nt":5:{s:3:"uri";s:1:"a";s:8:"location";s:22:"http://localhost/a.xml";s:17:"__default_headers";i:1…
|
/PHP-7.4/ext/spl/tests/ |
H A D | dit_001_noglob.phpt | 17 %s"pathName"%s"SplFileInfo":private]=> 18 %s(%d) ".%c%s" 19 %s"fileName"%s"SplFileInfo":private]=> 20 %s(%d) "%s" 21 %s"subPathName"%s"RecursiveDirectoryIterator":private]=> 22 %s(0) ""
|
H A D | SplFileObject_next_variation002.phpt | 13 $s = new SplFileObject(__FILE__); 14 $s->seek(2); 15 echo $s->current(); 16 $s->next(); 17 echo $s->current(); 19 $s->setFlags(SplFileObject::READ_AHEAD); 21 $s->seek(2); 22 echo $s->current(); 23 $s->next(); 24 echo $s->current();
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_seek.phpt | 26 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 65 printf("[011] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 71 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 82 printf("[016] Expecting id = %d for pos %d got %s/%s\n", 93 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 96 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp); 101 printf("[017] Expecting false got %s/%s\n", gettype($tmp), $tmp); 104 printf("[018] Expecting false got %s/%s\n", gettype($tmp), $tmp); 109 printf("[019] Expecting false got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_data_seek.phpt | 17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']); 37 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']); 44 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_free_result.phpt | 22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 63 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 71 printf("[015] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_affected_rows.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); 23 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke… 39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_options_init_command.phpt | 16 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 23 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 26 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 32 printf("[003] Expecting 1 got %s\n", $row['_num_rows']); 38 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 41 …f("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 45 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 51 printf("[007] Expecting 1 got %s\n", $row['_num_rows']); 66 …f("[010] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 76 Warning: mysqli_real_connect(): (%s/%d): %s in %s on line %d [all …]
|
H A D | mysqli_dump_debug_info.phpt | 17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 23 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 29 printf("[004] Expecting boolean/[true|false] value, got %s/%s, [%d] %s\n", 36 printf("[005] Expecting NULL, got %s/%s, [%d] %s\n", 43 Warning: mysqli_dump_debug_info(): Couldn't fetch mysqli in %s on line %d
|
H A D | mysqli_connect_error.phpt | 18 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 21 …f("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 …onnect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, … 34 printf("[004] Expecting string/'', got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_store_result.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] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 28 printf("[004] Expecting object, got %s/%s. [%d] %s\n", 32 printf("[005] Expecting boolean/true, got %s/%s. [%d] %s\n", 38 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 41 printf("[007] Expecting boolean/false, got %s/%s. [%d] %s\n", 45 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 48 printf("[009] Expecting boolean/false, got %s/%s\n", 54 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_bind_param.phpt | 26 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[003d] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 51 printf("[003a] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 63 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[012] Expecting '%s'/%s', got '%s'/%s'!\n", $id, $label, $row['id'], $row['label']); 147 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s' (%s), got '%s'/'%s'\n", 154 printf("[%03d] Testing '%s', '%s': expecting '%s'/'%s', got '%s'/'%s'\n", [all …]
|
H A D | mysqli_use_result.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] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 28 printf("[004] Expecting object, got %s/%s. [%d] %s\n", 32 printf("[005] Expecting boolean/true, got %s/%s. [%d] %s\n", 38 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 41 printf("[007] Expecting boolean/false, got %s/%s. [%d] %s\n", 45 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 48 printf("[009] Expecting boolean/false, got %s/%s\n", 54 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_character_set_name_oo.phpt | 18 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error); 36 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error); 45 …bugs.mysql.com/bug.php?id=7923, collation %s instead of character set returned, expected string/%s… 48 …printf("[011] Expecting character set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset… 54 printf("[012] Alias mysqli_character_set_name returned %s/%s, expected %s/%s\n", 61 printf("[013] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 65 printf("[014] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_select_db.phpt | 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 … printf("[005] Cannot select DB %s, [%d] %s\n", $db, mysqli_errno($link), mysqli_error($link)); 41 printf("[008] Expecting database '%s', found '%s'\n", $db, $row['dbname']); 60 printf("[012] Failed to set '%s' as current DB; [%d] %s\n", $link->errno, $link->error); 80 …ATE: 42000 (ER_DBACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' to database '%s' */ 81 …E: 28000 (ER_ACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' (using password: %s) */ 96 printf("[018] [%d] %s\n"); [all …]
|
H A D | mysqli_close.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); 23 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 28 printf("[004] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_pconn_limits.phpt | 21 printf("[001] Cannot run query, [%d] %s\n", 26 printf("Regular connection 1 - '%s'\n", $row['_desc']); 33 printf("[003] Cannot run query, [%d] %s\n", 38 printf("Regular connection 2 - '%s'\n", $row['_desc']); 42 …not create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s… 47 printf("[005] Cannot run query, [%d] %s\n", 52 printf("Persistent connection 1 - '%s'\n", $row['_desc']); 55 …not create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s… 60 printf("[007] Cannot run query, [%d] %s\n", 69 …not create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s… [all …]
|
/PHP-7.4/ext/date/tests/ |
H A D | bug27780.phpt | 97 1081180800 [2004-04-06 00:00:00 %s] [2004-04-07 00:00:00 -1 day] 98 1081267200 [2004-04-07 00:00:00 %s] [2004-04-07 00:00:00] 99 1081270800 [2004-04-07 01:00:00 %s] [2004-04-07 00:00:00 +1 hour] 100 1081274400 [2004-04-07 02:00:00 %s] [2004-04-07 00:00:00 +2 hour] 101 1081353600 [2004-04-08 00:00:00 %s] [2004-04-07 00:00:00 +1 day] 102 1081353600 [2004-04-08 00:00:00 %s] [2004-04-07 00:00:00 1 day] 112 1081220400 [2004-04-06 00:00:00 %s] [2004-04-07 00:00:00 -1 day] 113 1081306800 [2004-04-07 00:00:00 %s] [2004-04-07 00:00:00] 114 1081310400 [2004-04-07 01:00:00 %s] [2004-04-07 00:00:00 +1 hour] 116 1081393200 [2004-04-08 00:00:00 %s] [2004-04-07 00:00:00 +1 day] [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | bug60573.phpt | 7 public function setSelf(self $s) { } 13 public function setSelf(parent $s) { } 19 public function setSelf(Foo2 $s) { } 25 public function setSelf(parent $s) { } 34 public function setSelf(parent $s) { } 40 public function setSelf(Base $s) { } 46 public function setSelf(self $s) { } 52 public function setSelf(self $s) { } 58 public function setSelf(parent $s) { } 64 public function setSelf(parent $s) { } [all …]
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | bug75054.phpt | 5 $poc = 'a:9:{i:0;s:4:"0000";i:0;s:4:"0000";i:0;R:2;s:4:"5003";R:2;s:4:"0000";R:2;s:4:"0000";R:2;s:4… 7 $poc .= '000";R:2;s:4:"0000";d:0;s:4:"0000";a:9:{s:4:"0000";'; 11 Notice: unserialize(): Error at offset 43 of 145 bytes in %s on line %d
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cp936.c | 204 s = 0xa3fe; in mbfl_filt_conv_wchar_cp936() 206 s = 0xa1e3; in mbfl_filt_conv_wchar_cp936() 208 s = 0xa1ab; in mbfl_filt_conv_wchar_cp936() 245 s = 0xff; in mbfl_filt_conv_wchar_cp936() 256 s = 0xa1e7; in mbfl_filt_conv_wchar_cp936() 258 s = 0xa1ab; in mbfl_filt_conv_wchar_cp936() 265 if (s <= 0) { in mbfl_filt_conv_wchar_cp936() 271 s = 0; in mbfl_filt_conv_wchar_cp936() 273 s = -1; in mbfl_filt_conv_wchar_cp936() 276 if (s >= 0) { in mbfl_filt_conv_wchar_cp936() [all …]
|
H A D | mbfilter_euc_cn.c | 162 int c1, c2, s; in mbfl_filt_conv_wchar_euccn() local 164 s = 0; in mbfl_filt_conv_wchar_euccn() 175 s = 0xa1e7; in mbfl_filt_conv_wchar_euccn() 177 s = 0xa1ab; in mbfl_filt_conv_wchar_euccn() 184 c1 = (s >> 8) & 0xff; in mbfl_filt_conv_wchar_euccn() 185 c2 = s & 0xff; in mbfl_filt_conv_wchar_euccn() 188 s = c; in mbfl_filt_conv_wchar_euccn() 191 if (s <= 0) { in mbfl_filt_conv_wchar_euccn() 197 s = 0; in mbfl_filt_conv_wchar_euccn() 199 s = -1; in mbfl_filt_conv_wchar_euccn() [all …]
|
/PHP-7.4/ext/sysvshm/tests/ |
H A D | 002.phpt | 19 var_dump($s = shm_attach($key, -1)); 20 shm_remove($s); 21 var_dump($s = shm_attach($key, 0)); 22 shm_remove($s); 24 var_dump($s = shm_attach($key, 1024)); 26 var_dump($s = shm_attach($key, 1024)); 27 shm_remove($s); 29 shm_remove($s); 32 shm_remove($s); 33 var_dump($s = shm_attach($key)); [all …]
|
/PHP-7.4/ext/session/tests/ |
H A D | session_set_save_handler_variation6.phpt | 65 Open [%s,PHPSESSID] 66 CreateID [PHPT-%s] 67 Read [%s,%s] 76 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;] 87 Open [%s,PHPSESSID] 88 Read [%s,%s] 97 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;Bar|s:3:"Foo";] 100 Open [%s,PHPSESSID] 101 Read [%s,%s] 112 Update [%s,PHPT-%d] [all …]
|
/PHP-7.4/sapi/phpdbg/tests/ |
H A D | print_001.phpt | 12 [Successful compilation of %s] 14 L14-16 foo() %s - %s + 8 ops 16 L15 #1 INIT_FCALL%s %d %s "var_dump" 17 L15 #2 INIT_FCALL%s %d %s "strrev" 24 L5-7 Foo\Bar::Foo() %s - %s + 5 ops 30 L9-9 Foo\Bar::baz() %s - %s + 1 ops 33 prompt> [Context %s (9 ops)] 34 L1-21 {main}() %s - %s + 9 ops 40 L19 #5 INIT_FCALL%s %d %s "foo"
|