/PHP-8.1/ext/standard/tests/file/ |
H A D | readlink_realpath_variation3.phpt | 34 Warning: readlink(): %s in %s on line %d 36 %s 39 Warning: readlink(): %s in %s on line %d 41 %s 44 Warning: readlink(): %s in %s on line %d 46 string(%d) "%s" 49 Warning: readlink(): %s in %s on line %d 51 string(%d) "%s"
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_stmt_execute_stored_proc.phpt | 22 printf("[009] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 48 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 51 printf("[018] Results seem wrong, got %s, [%d] %s\n", 66 printf("[019] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 89 printf("[026] Results seem wrong, got %s, [%d] %s\n", 103 printf("[028] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 129 printf("[035] Results seem wrong, got %s, [%d] %s\n", 141 printf("[037] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 150 if (!mysqli_stmt_bind_param($stmt, 's', $version)) 171 printf("[045] Results seem wrong, got %s, [%d] %s\n", [all …]
|
H A D | mysqli_insert_id.phpt | 16 printf("[003] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 19 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 22 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 30 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[010] Expecting int/any >0, got %s/%s\n", gettype($last_id), $last_id); 70 … printf("[014] Expecting int/any > %d, got %s/%s\n", $last_id, gettype($next_id), $next_id); 83 … printf("[016] Expecting int/%d, got %s/%s\n", $last_id + 1, gettype($next_id), $next_id); 98 printf("[019] Something is wrong, check manually. Expecting %s got %s.\n", 110 printf("[021] Expecting int/1000, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_field_count.phpt | 33 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 35 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 40 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 45 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 51 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 55 if (mysqli_stmt_bind_param($stmt, "s", $label)) 62 printf("[015] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_savepoint.phpt | 11 die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error())); 14 die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error)); 21 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 31 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 … printf("[008] Cannot create test table, [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 37 … printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 41 …printf("[010] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link)); 44 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 48 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_begin_transaction.phpt | 14 die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error)); 20 …f("[004] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 24 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 30 printf("[010] Cannot turn on autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 34 …printf("[011] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link)); 37 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 41 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 58 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 61 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 68 printf("[016] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | bug42378.phpt | 18 printf("[%03d] Cannot drop table test, [%d] %s\n", 25 $sql = sprintf("CREATE TABLE test(id INT AUTO_INCREMENT PRIMARY KEY, col1 %s) ENGINE=%s", 41 printf("[%03d] Cannot insert data, [%d] %s\n", 54 printf("[%03d] Cannot create PS, [%d] %s\n", 62 $sql = sprintf('SELECT %s AS _format FROM %s ORDER BY %s', $format, $from, $order_by); 64 $sql = sprintf('SELECT %s AS _format FROM %s', $format, $from); 67 printf("[%03d] Cannot prepare PS, [%d] %s\n", 74 printf("[%03d] Cannot execute PS, [%d] %s\n", 105 printf("[%03d] Expecting %s/%s got %s/%s with %s - %s.\n", 136 printf("[%03d] Row %d - expecting %s/%s got %s/%s [%s] with %s - %s.\n", [all …]
|
H A D | mysqli_explain_metadata.phpt | 37 printf("[003] Expecting int/%d got %s/%s\n", 41 printf("[004] Expecting int/%d got %s/%s\n", 46 printf("[005] Expecting int/%d got %s/%s\n", 76 printf("[010] Expecting int/%d got %s/%s\n", 80 printf("[011] Expecting int/%d got %s/%s\n", 84 printf("[013] Expecting int/%d got %s/%s\n", 88 printf("[014] Expecting int/%d got %s/%s\n", 93 printf("[015] Expecting int/%d got %s/%s\n", 110 printf("[018] Expecting int/%d got %s/%s\n", 117 printf("[020] Expecting int/%d got %s/%s\n", [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("[003] [%d] %s\n", $mysqli->errno, $mysqli->error); 33 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error); 42 …bugs.mysql.com/bug.php?id=7923, collation %s instead of character set returned, expected string/%s… 45 …printf("[011] Expecting character set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset… 51 printf("[012] Alias mysqli_character_set_name returned %s/%s, expected %s/%s\n",
|
H A D | mysqli_options_int_and_float_native.phpt | 34 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 39 printf("[002] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 45 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 49 if (!mysqli_query($link, sprintf("CREATE TABLE test (id %s)", $data[0]))) { 50 printf("[004] TODO [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 55 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 60 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 68 printf("[007] Expecting %s - %s/%s got %s/%s\n", 76 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 86 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | mysqli_stmt_fetch_bit.phpt | 19 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 27 …ery($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits, $engine))) 28 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link)); 31 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 36 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value)); 40 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 47 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 50 … printf("[006 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 53 …(%d) column might have failed. MySQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $b… 56 …rintf("[008 - %d] Wrong values, (original) value = %s, id = %s, label + 0 AS label0 = %s, label =…
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | array_unshift_variation2.phpt | 128 ["s"]=> 145 ["s"]=> 159 ["s"]=> 176 ["s"]=> 190 ["s"]=> 207 ["s"]=> 221 ["s"]=> 238 ["s"]=> 252 ["s"]=> 269 ["s"]=> [all …]
|
/PHP-8.1/ext/oci8/tests/ |
H A D | bind_sqltafc.phpt | 25 oci_execute($s); 26 oci_fetch_all($s, $r); 41 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 42 oci_bind_by_name($s, ":c3", $c3, -1, SQLT_AFC); 43 oci_bind_by_name($s, ":c4", $c4, -1, SQLT_AFC); 44 oci_bind_by_name($s, ":c5", $c5, -1, SQLT_AFC); 45 oci_execute($s); 56 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 57 oci_bind_by_name($s, ":c3", $c3, -1, SQLT_AFC); 60 oci_execute($s); [all …]
|
H A D | bind_boolean_1.phpt | 31 $s = oci_parse($c, $sql); 34 oci_execute($s); 42 $s = oci_parse($c, $sql); 44 oci_execute($s); 58 $s = oci_parse($c, $sql); 61 oci_bind_by_name($s, ':input', $input); 62 oci_execute($s); 76 $s = oci_parse($c, $sql); 80 oci_execute($s); 94 $s = oci_parse($c, $sql); [all …]
|
H A D | bug47189.phpt | 17 $s = oci_parse($c, "select * from dual"); 18 oci_execute($s); 19 oci_fetch_all($s, $rs, 0, -1, OCI_FETCHSTATEMENT_BY_ROW); 21 oci_fetch_all($s, $rs1, 0, -1, OCI_FETCHSTATEMENT_BY_ROW); 26 $s = oci_parse($c, "select * from dual"); 27 oci_execute($s); 28 oci_fetch_all($s, $rs, 0, 1, OCI_FETCHSTATEMENT_BY_ROW); 30 oci_fetch_all($s, $rs1, 0, 1, OCI_FETCHSTATEMENT_BY_ROW); 54 Warning: oci_fetch_all(): ORA-01002: %s in %s on line %d
|
/PHP-8.1/ext/soap/tests/ |
H A D | bug73452.phpt | 8 $data = 'O:9:"SoapFault":4:{s:9:"faultcode";i:4298448493;s:11:"faultstring";i:4298448543;s:7:"'."\0… 14 Fatal error: Uncaught TypeError: Cannot assign %s to property SoapFault::$faultcode of type ?string… 18 thrown in %s on line %d
|
/PHP-8.1/Zend/tests/ |
H A D | 024.phpt | 18 Warning: Undefined variable $a in %s on line %d 23 Warning: Undefined variable $a in %s on line %d 25 Warning: Undefined variable $c in %s on line %d 30 Warning: Undefined variable $a in %s on line %d 33 Warning: Undefined variable $a in %s on line %d 35 Warning: Undefined variable $b in %s on line %d 38 Warning: Undefined variable $a in %s on line %d 41 Warning: Undefined variable $b in %s on line %d 44 Warning: Attempt to read property "1" on int in %s on line %d 47 Warning: Attempt to read property "1" on int in %s on line %d [all …]
|
H A D | bug52041.phpt | 50 Warning: Undefined variable $x in %s on line %d 53 Warning: Undefined variable $x in %s on line %d 56 Warning: Undefined variable $x in %s on line %d 59 Warning: Undefined variable $x in %s on line %d 62 Warning: Undefined variable $x in %s on line %d 65 Warning: Undefined variable $x in %s on line %d 68 Warning: Undefined variable $x in %s on line %d 70 Warning: Undefined variable $x in %s on line %d 72 Warning: Undefined variable $x in %s on line %d 74 Warning: Undefined array key 0 in %s on line %d [all …]
|
H A D | bug74836.phpt | 5 $s = "1234567890a"; 9 var_dump($s["10"], isset($s["10"])); 10 var_dump($s["010"], isset($s["010"])); 11 var_dump($s[$i], isset($s[$i])); 27 Warning: Undefined array key "010" in %s on line %d 31 Warning: Undefined array key "010" in %s on line %d
|
/PHP-8.1/ext/date/tests/ |
H A D | bug17988.phpt | 7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n"; 8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n"; 9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n"; 10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; 11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; 12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n"; 13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n"; 14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n"; 15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n"; 16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n"; [all …]
|
/PHP-8.1/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cp51932.c | 100 int c1, s, w; in mbfl_filt_conv_cp51932_wchar() local 122 if (s <= 137) { in mbfl_filt_conv_cp51932_wchar() 123 if (s == 31) { in mbfl_filt_conv_cp51932_wchar() 125 } else if (s == 32) { in mbfl_filt_conv_cp51932_wchar() 127 } else if (s == 33) { in mbfl_filt_conv_cp51932_wchar() 129 } else if (s == 60) { in mbfl_filt_conv_cp51932_wchar() 131 } else if (s == 80) { in mbfl_filt_conv_cp51932_wchar() 133 } else if (s == 81) { in mbfl_filt_conv_cp51932_wchar() 135 } else if (s == 137) { in mbfl_filt_conv_cp51932_wchar() 142 } else if (s >= 0 && s < jisx0208_ucs_table_size) { /* X 0208 */ in mbfl_filt_conv_cp51932_wchar() [all …]
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | bug42107.phpt | 2 Bug #42107 (sscanf() broken when using %2$s type format parameters) 6 var_dump(sscanf('one two', '%1$s %2$s')); 7 var_dump(sscanf('one two', '%2$s %1$s')); 9 sscanf('one two', '%1$s %2$s', $foo, $bar); 11 sscanf('one two', '%2$s %1$s', $foo, $bar);
|
H A D | bug69751.phpt | 7 sprintf('%$s, %2$s %1$s', "a", "b"); 13 sprintf('%3$s, %2$s %1$s', "a", "b"); 19 sprintf('%2147483648$s, %2$s %1$s', "a", "b");
|
/PHP-8.1/ext/sqlite3/tests/ |
H A D | sqlite3_bind_bug68849.phpt | 17 $s->bindValue(1, 3); 18 $r = $s->execute(); 21 $s = $db->prepare('SELECT * FROM test WHERE a = ?;'); 22 $s->bindValue(1, true); 23 $r = $s->execute(); 26 $s = $db->prepare('SELECT * FROM test WHERE a = ?;'); 27 $s->bindValue(1, false); 28 $r = $s->execute(); 31 $s = $db->prepare('SELECT * FROM test WHERE c = ?;'); 32 $s->bindValue(1, 3.15); [all …]
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | bug72663.phpt | 25 $s = 'O:5:"Test1":1:{s:10:"";}'; 26 var_dump(unserialize($s)); 29 $s = 'O:5:"Test1":2:{i:0;R:1;s:10:"";}'; 30 var_dump(unserialize($s)); 33 $s = 'O:5:"Test2":0:{}'; 35 var_dump(unserialize($s)); 41 $s = 'O:5:"Test2":1:{i:0;R:1;}'; 43 var_dump(unserialize($s)); 50 Notice: unserialize(): Error at offset 17 of 24 bytes in %s on line %d 53 Notice: unserialize(): Error at offset 25 of 32 bytes in %s on line %d
|