/PHP-8.1/ext/session/tests/ |
H A D | 001.phpt | 38 baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"…
|
H A D | 022.phpt | 34 …ring(126) "baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3…
|
/PHP-8.1/sapi/phpdbg/tests/ |
H A D | info_001.phpt | 21 [Successful compilation of %s] 24 |---- in %s on line 4 26 |-------- foo in %s on line 14 35 %s %d string $baz 39 %s 2 array $_GET 40 %s 2 array $_POST 41 %s 2 array $_COOKIE 42 %s 2 array $_SERVER 43 %s 2 array $_ENV 44 %s 1 array $_REQUEST [all …]
|
/PHP-8.1/tests/security/ |
H A D | open_basedir_chdir.phpt | 32 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 35 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 38 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 41 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 44 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 47 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
H A D | open_basedir_readlink.phpt | 52 …ir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in %s on line %d 55 …triction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in %s on line %d 58 …iction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in %s on line %d 61 … restriction in effect. File(./symlink.txt) is not within the allowed path(s): (.) in %s on line %d 64 … open_basedir restriction in effect. File(%s/test/ok/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 … open_basedir restriction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s…
|
H A D | open_basedir_touch.phpt | 41 …basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 44 …restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 47 …pen_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 50 …en_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 53 …open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 56 …sedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 59 …striction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on line %d 62 …basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
|
/PHP-8.1/ext/standard/tests/dir/ |
H A D | dir_variation8.phpt | 42 Warning: dir(%s/dir_var*): Failed to open directory: %s in %s on line %d 45 Warning: dir(%s/*): Failed to open directory: %s in %s on line %d 49 Warning: dir(%s/dir_variation81/sub_dir?): Failed to open directory: %s in %s on line %d 52 Warning: dir(%s/dir_variation81/sub?dir1): Failed to open directory: %s in %s on line %d
|
/PHP-8.1/ext/zip/tests/ |
H A D | oo_setmtime.phpt | 32 $s = $zip->statName('foo'); 33 var_dump($s['mtime'] > $t1); 35 $s = $zip->statName('foo'); 36 // ONLY with 1.6.0 - var_dump($s['mtime'] == $t1); 39 $s = $zip->statIndex(1); 40 var_dump($s['mtime'] > $t2); 42 $s = $zip->statIndex(1); 56 $s = $zip->statIndex(0); 57 var_dump($s['mtime'] == $t1); 60 $s = $zip->statName('bar'); [all …]
|
/PHP-8.1/ext/gmp/tests/ |
H A D | serialize.phpt | 9 var_dump($s = serialize($n)); 10 var_dump(unserialize($s)); 14 var_dump($s = serialize($n)); 15 var_dump(unserialize($s)); 17 var_dump(unserialize('C:3:"GMP":15:{s:2:"42";a:0:{}}')); 24 unserialize('C:3:"GMP":9:{s:2:"42";}'); 36 unserialize('O:3:"GMP":1:{i:0;s:0:"";}'); 40 unserialize('O:3:"GMP":2:{i:0;s:1:"0";i:1;i:0;}'); 49 string(27) "O:3:"GMP":1:{i:0;s:2:"2a";}" 54 string(56) "O:3:"GMP":2:{i:0;s:1:"d";i:1;a:1:{s:3:"foo";s:3:"bar";}}"
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | tempnam_variation1.phpt | 63 File name is => %s%etempnam_variation1.tmp%s 68 File name is => %s%etempnam_variation1.tmp%s 73 File name is => %s%etempnam_variation1.tmp%s 78 File name is => %s%etempnam_variation1.tmp%s 83 File name is => %s%etempnam_variation1.tmp%s 88 File name is => %s%etempnam_variation1.tmp%s 93 File name is => %s%etempnam_variation1.tmp%s 98 File name is => %s%etempnam_variation1.tmp%s 103 File name is => %s%etempnam_variation1.tmp%s 108 File name is => %s%etempnam_variation1.tmp%s
|
/PHP-8.1/ext/date/tests/ |
H A D | DateTime_diff-massive.phpt | 14 …st_massive_positive: DIFF: 333333-01-01 16:18:02 %s - -333333-01-01 16:18:02 %s = **P+666666Y0M0DT… 15 …st_massive_negative: DIFF: -333333-01-01 16:18:02 %s - 333333-01-01 16:18:02 %s = **P-666666Y0M0DT…
|
/PHP-8.1/ext/oci8/tests/ |
H A D | bind_char_2.phpt | 38 $r = oci_bind_by_name($s, ":bv", $bv1); 40 do_e_q($s); 45 do_e_q($s); 48 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 50 do_e_q($s); 55 do_e_q($s); 60 do_e_q($s); 65 do_e_q($s); 68 function do_e_q($s) 72 $r = @oci_execute($s); [all …]
|
H A D | bind_char_2_11gR1.phpt | 38 $r = oci_bind_by_name($s, ":bv", $bv1); 40 do_e_q($s); 45 do_e_q($s); 48 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 50 do_e_q($s); 55 do_e_q($s); 60 do_e_q($s); 65 do_e_q($s); 68 function do_e_q($s) 72 $r = @oci_execute($s); [all …]
|
H A D | pecl_bug16842.phpt | 22 $s = oci_parse($c, 'begin raise NO_DATA_FOUND; end;'); 23 $e = oci_execute($s); 25 var_dump(oci_error($s)); 30 $s = oci_parse($c, 'begin raise ZERO_DIVIDE; end;'); 31 $e = oci_execute($s); 33 var_dump(oci_error($s)); 42 Warning: oci_execute(): ORA-01403: %s 49 string(%d) "ORA-01403: %s 59 Warning: oci_execute(): ORA-01476: %s 60 ORA-06512: at line 1 in %s on line 19 [all …]
|
/PHP-8.1/ext/sqlite3/tests/ |
H A D | sqlite3_36_create_collation.phpt | 12 $db->exec('CREATE TABLE t (s varchar(4))'); 15 foreach(array('a1', 'a10', 'a2') as $s){ 16 $stmt->bindParam(1, $s); 20 $defaultSort = $db->query('SELECT s FROM t ORDER BY s'); //memcmp() sort 21 $naturalSort = $db->query('SELECT s FROM t ORDER BY s COLLATE NAT'); //strnatcmp() sort 25 echo $row['s'], "\n"; 30 echo $row['s'], "\n";
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_pam_sha256_public_key_option.phpt | 24 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 38 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 50 $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd")… 52 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 67 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error)); 78 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error)); 93 …$file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"… 106 printf("[003] [%d] %s\n", $link->errno, $link->error); 109 printf("[004] [%d] %s\n", $link->errno, $link->error); 113 printf("[005] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']); [all …]
|
H A D | mysqli_stmt_reset.phpt | 22 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 31 printf("[005] Expecting boolean/true, got %s/%s, [%d] %s\n", 35 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 50 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 53 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 56 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 78 printf("[018] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 81 printf("[019] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | mysqli_stmt_close.phpt | 16 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 26 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 29 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 41 printf("[009] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 45 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 49 printf("[011] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 54 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 60 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 63 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); [all …]
|
H A D | mysqli_warning_unclonable.phpt | 17 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 21 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 24 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 27 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 30 …printf("[005] Expecting object/mysqli_warning, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var… 41 Fatal error: Trying to clone an uncloneable object of class mysqli_warning in %s on line %d
|
/PHP-8.1/ext/phar/tests/ |
H A D | bug69720.phar | 2 …s:12:"MY_METADATA_";…
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | invalid_signs_in_lengths.phpt | 6 var_dump(unserialize('s:+1:"x";')); 7 var_dump(unserialize('s:-1:"x";')); 21 Notice: unserialize(): Error at offset 0 of 9 bytes in %s on line %d 24 Notice: unserialize(): Error at offset 0 of 9 bytes in %s on line %d 27 Notice: unserialize(): Error at offset 0 of 7 bytes in %s on line %d 30 Notice: unserialize(): Error at offset 0 of 7 bytes in %s on line %d 33 Notice: unserialize(): Error at offset 0 of 20 bytes in %s on line %d 36 Notice: unserialize(): Error at offset 0 of 20 bytes in %s on line %d 39 Notice: unserialize(): Error at offset 0 of 24 bytes in %s on line %d 42 Notice: unserialize(): Error at offset 0 of 24 bytes in %s on line %d [all …]
|
/PHP-8.1/Zend/ |
H A D | zend_ini_scanner.l | 35 # define YYDEBUG(s, c) printf("state: %d char: %c\n", s, c) argument 51 #define YYSETCONDITION(s) SCNG(yy_state) = s argument 308 char *s, *t; in zend_ini_escape_string() local 319 s++; in zend_ini_escape_string() 343 *t++ = *s; in zend_ini_escape_string() 345 if (*s == '\n' || (*s == '\r' && (*(s+1) != '\n'))) { in zend_ini_escape_string() 348 s++; in zend_ini_escape_string() 601 if (s < YYLIMIT && *s == '{') { 609 if (escaped == '"' && (s >= YYLIMIT || *s == '\n' || *s == '\r')) { 618 s--; [all …]
|
/PHP-8.1/Zend/tests/list/ |
H A D | list_reference_007.phpt | 7 private $s = []; 8 function __construct(array $a) { $this->s = $a; } 9 function offsetSet ($k, $v): void { $this->s[$k] = $v; } 10 function &offsetGet ($k): mixed { return $this->s[$k]; } 11 function offsetExists ($k): bool { return isset($this->s[$k]); } 12 function offsetUnset ($k): void { unset($this->s[$k]); } 34 ["s":"StorageRef":private]=> 43 ["s":"StorageRef":private]=> 54 ["s":"StorageRef":private]=> 68 ["s":"StorageRef":private]=>
|
/PHP-8.1/Zend/tests/ |
H A D | exception_025.phpt | 25 Exception in %s:%d 27 #0 %s(10): main('short') 29 Exception in %s:%d 31 #0 %s(11): main('12345678901234567890...') 34 Exception in %s:%d 36 #0 %s(13): main('...') 38 Exception in %s:%d 40 #0 %s(14): main('')
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | 004.phpt | 17 $s = join('', $p); 18 if (empty($a[$s])) $a[$s] = 0; 19 $a[$s]++; 27 $s = str_shuffle($p); 28 if (empty($a[$s])) $a[$s] = 0; 29 $a[$s]++;
|