/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_fetch_assoc_bit.phpt | 38 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 49 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link)); 73 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin); 79 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 81 …alue) AS _bin, bit_value + 0 AS _bit_value0, bit_value, bit_null FROM test WHERE id = %s", $value); 83 printf("[004 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 86 printf("[005 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 90 … printf("[006 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n", 96 printf("%10s %64s\n%10s %64s\n", '_bin', $row['_bin'], 'insert', $bin); 97 printf("[007 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']); [all …]
|
H A D | mysqli_stmt_execute_stored_proc.phpt | 21 printf("[009] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 47 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 50 printf("[018] Results seem wrong, got %s, [%d] %s\n", 65 printf("[019] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 88 printf("[026] Results seem wrong, got %s, [%d] %s\n", 102 printf("[028] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 128 printf("[035] Results seem wrong, got %s, [%d] %s\n", 140 printf("[037] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 149 if (!mysqli_stmt_bind_param($stmt, 's', $version)) 170 printf("[045] Results seem wrong, got %s, [%d] %s\n", [all …]
|
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 | 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_real_query.phpt | 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 24 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 39 …printf("[008] Expecting reseult object, got %s/%s [%d] %s\n", gettype($res), $res, mysqli_errno($l… 45 printf("[008] Expecting boolean/false, got %s/%s, [%d] %s\n", gettype($res), $res, 49 // let's try to play with stored procedures 88 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_get_connection_stats_off.phpt | 21 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 26 printf("[002] Expecting non-empty array, got %s.\n", gettype($before)); 32 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 45 printf("[004] Field %s should not have any other value but 0, got %s.\n",
|
H A D | mysqli_stmt_init.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)); 33 printf("[003a] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 38 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 53 in %s on line %d 55 Warning: mysqli_stmt_init() expects parameter 1 to be mysqli, object given in %s on line %d 57 Warning: mysqli_stmt_init(): Couldn't fetch mysqli in %s on line %d
|
H A D | bug_mysql_49406.phpt | 13 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 68 printf("Name : %s\n", $field->name); 69 printf("Orgname : %s\n", $field->orgname); 70 printf("Table : %s\n", $field->table); 71 printf("Orgtable : %s\n", $field->orgtable); 96 Field : %s 97 Name : %s 98 Orgname :%s 99 Table :%s 100 Orgtable :%s [all …]
|
H A D | mysqli_class_mysqli_result_interface.phpt | 73 printf("%s\n", $var); 78 printf("%s\n", $var); 83 printf("mysqli_result->current_field = '%s'/%s ('%s'/%s)\n", 88 printf("mysqli_result->field_count = '%s'/%s ('%s'/%s)\n", 93 printf("mysqli_result->lengths -> '%s'/%s ('%s'/%s)\n", 100 printf("mysqli_result->num_rows = '%s'/%s ('%s'/%s)\n", 105 printf("mysqli_result->type = '%s'/%s\n", 110 printf("mysqli_result->unknown = '%s'\n", @$mysqli_result->unknown); 114 printf("[001] Expecting object/mysqli_result got %s/%s\n", gettye($res), $res); 117 printf("[002] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_insert_id.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[004] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 35 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 46 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 51 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 58 printf("[009] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 61 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
/PHP-7.4/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-7.4/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
|
H A D | bug71313.phpt | 5 …rage\":113:{x:i:2;O:8:\"stdClass\":0:{},a:2:{s:4:\"prev\";i:2;s:4:\"next\";O:8:\"stdClass\":0:{}};… 9 Fatal error: Uncaught UnexpectedValueException: Error at offset 82 of 113 bytes in %s%ebug71313.php… 11 #0 [internal function]: SplObjectStorage->unserialize('%s') 12 #1 %s%ebug71313.php(2): unserialize('%s') 14 thrown in %s%ebug71313.php on line 2
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | bug45485.phpt | 6 $s =<<< EOD 10 $s = strip_tags($s); 11 echo htmlspecialchars($s),"\n"; 13 $s =<<< EOD 17 $s = strip_tags($s); 18 echo htmlspecialchars($s),"\n";
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_unshift_variation2.phpt | 133 ["s"]=> 150 ["s"]=> 164 ["s"]=> 181 ["s"]=> 195 ["s"]=> 212 ["s"]=> 226 ["s"]=> 243 ["s"]=> 257 ["s"]=> 274 ["s"]=> [all …]
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_uhc.c | 184 int c1, s; in mbfl_filt_conv_wchar_uhc() local 186 s = 0; in mbfl_filt_conv_wchar_uhc() 194 s = ucs_i_uhc_table[c - ucs_i_uhc_table_min]; in mbfl_filt_conv_wchar_uhc() 196 s = ucs_s_uhc_table[c - ucs_s_uhc_table_min]; in mbfl_filt_conv_wchar_uhc() 202 if (s <= 0) { in mbfl_filt_conv_wchar_uhc() 205 s = c & MBFL_WCSPLANE_MASK; in mbfl_filt_conv_wchar_uhc() 208 s = 0; in mbfl_filt_conv_wchar_uhc() 209 } else if (s <= 0) { in mbfl_filt_conv_wchar_uhc() 210 s = -1; in mbfl_filt_conv_wchar_uhc() 213 if (s >= 0) { in mbfl_filt_conv_wchar_uhc() [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | iterator_042.phpt | 46 %s"storage"%s"ArrayIterator":private]=> 50 %s"storage"%s"ArrayIterator":private]=> 58 %s"storage"%s"ArrayIterator":private]=> 69 %s"storage"%s"ArrayIterator":private]=> 73 %s"storage"%s"ArrayIterator":private]=> 81 %s"storage"%s"ArrayIterator":private]=> 91 %s"storage"%s"ArrayIterator":private]=>
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fputcsv_variation9.phpt | 82 Notice: fputcsv(): delimiter must be a single character in %s on line %d 84 Notice: fputcsv(): enclosure must be a single character in %s on line %d 93 Notice: fputcsv(): delimiter must be a single character in %s on line %d 95 Notice: fputcsv(): enclosure must be a single character in %s on line %d 104 Notice: fputcsv(): delimiter must be a single character in %s on line %d 106 Notice: fputcsv(): enclosure must be a single character in %s on line %d 115 Notice: fputcsv(): delimiter must be a single character in %s on line %d 117 Notice: fputcsv(): enclosure must be a single character in %s on line %d 126 Notice: fputcsv(): delimiter must be a single character in %s on line %d 128 Notice: fputcsv(): enclosure must be a single character in %s on line %d [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | numeric_string_errors_assign.phpt | 115 Warning: A non-numeric value encountered in %s on line %d 117 Warning: A non-numeric value encountered in %s on line %d 126 Warning: A non-numeric value encountered in %s on line %d 128 Warning: A non-numeric value encountered in %s on line %d 137 Warning: A non-numeric value encountered in %s on line %d 139 Warning: A non-numeric value encountered in %s on line %d 148 Warning: A non-numeric value encountered in %s on line %d 150 Warning: A non-numeric value encountered in %s on line %d 152 Warning: Division by zero in %s on line %d 161 Warning: A non-numeric value encountered in %s on line %d [all …]
|
/PHP-7.4/ext/sockets/tests/ |
H A D | mcast_ipv4_send.phpt | 8 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP) or die("err"); 19 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 9); 21 $r = socket_get_option($s, $level, IP_MULTICAST_TTL); 26 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 0); 28 $r = socket_get_option($s, $level, IP_MULTICAST_LOOP); 30 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 1); 32 $r = socket_get_option($s, $level, IP_MULTICAST_LOOP); 38 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 0); 40 $r = socket_get_option($s, $level, IP_MULTICAST_IF); 43 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 1); [all …]
|
H A D | socket_getopt.phpt | 18 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 9); 20 $r = socket_getopt($s, $level, IP_MULTICAST_TTL); 25 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 0); 27 $r = socket_getopt($s, $level, IP_MULTICAST_LOOP); 31 $r = socket_getopt($s, $level, IP_MULTICAST_LOOP); 37 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 0); 39 $r = socket_getopt($s, $level, IP_MULTICAST_IF); 42 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 1); 44 $r = socket_getopt($s, $level, IP_MULTICAST_IF); 52 socket_close($s); [all …]
|
/PHP-7.4/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-7.4/ext/oci8/tests/ |
H A D | bug51291_1.phpt | 13 if (!$s) { 22 if (!$s) { 31 $r = @oci_execute($s, OCI_DEFAULT); 33 var_dump(oci_error($s)); 35 var_dump(oci_error($s)); 41 $r = @oci_execute($s, OCI_DEFAULT); 52 $r = @oci_execute($s, OCI_DEFAULT); 150 string(48) "ORA-01756: %s" 161 string(48) "ORA-01756: %s" 176 string(48) "ORA-01756: %s" [all …]
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_closecursor_empty.phpt | 28 printf("[003] Cannot bind parameter, %s %s\n", 35 printf("[004] Cannot bind integer column, %s %s\n", 39 printf("[005] Cannot bind string column, %s %s\n", 43 printf("in = %d -> id = %s (%s) / label = %s (%s)\n", 51 printf("in = %d -> id = %s (%s) / label = %s (%s)\n", 57 printf("[001] %s [%s] %s\n",
|