/PHP-8.1/ext/sockets/tests/ |
H A D | mcast_ipv4_send_error.phpt | 10 $s = socket_create($domain, SOCK_DGRAM, SOL_UDP); 11 if ($s === false) { 21 $s = socket_create($domain, SOCK_DGRAM, SOL_UDP) or die("err"); 25 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 256); 27 $r = socket_get_option($s, $level, IP_MULTICAST_LOOP); 33 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, false); 35 $r = socket_get_option($s, $level, IP_MULTICAST_LOOP); 47 $r = socket_get_option($s, $level, IP_MULTICAST_TTL); 52 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, "254"); 54 $r = socket_get_option($s, $level, IP_MULTICAST_TTL); [all …]
|
H A D | mcast_ipv6_recv_limited.phpt | 11 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); 12 $br = socket_bind($s, '::', 3000); 16 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 56 var_dump($s); 57 $br = socket_bind($s, '::0', 3000) or die("err"); 60 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 68 checktimeout($s, 500); 69 $r = socket_recvfrom($s, $str, 2000, 0, $from, $fromPort); 77 checktimeout($s, 500); 78 while (($str = socket_read($s, 3000, 500)) !== FALSE) { [all …]
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_local_infile_directory_access_allowed.phpt | 14 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error)); 28 printf("[001] Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 32 printf("[002] [%d] %s\n", $link->errno, $link->error); 36 printf("[003] [%d] %s\n", $link->errno, $link->error); 41 printf("[004] [%d] %s\n", $link->errno, $link->error); 46 printf("[005] [%d] %s\n", $link->errno, $link->error); 59 printf("[007] [%d] %s\n", $link->errno, $link->error); 70 …"[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 75 …printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link…
|
H A D | bug77956.phpt | 11 die(sprintf("skip Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error())); 16 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error)); 25 printf("[001] Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 28 printf("[002] [%d] %s\n", $link->errno, $link->error); 31 printf("[003] [%d] %s\n", $link->errno, $link->error); 36 printf("[005] [%d] %s\n", $link->errno, $link->error); 38 printf("[006] [%d] %s\n", $link->errno, $link->error); 49 …"[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 53 …printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link…
|
H A D | clean_table.inc | 5 …"[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 10 …printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link…
|
H A D | mysqli_error_unicode.phpt | 14 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 22 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li…
|
H A D | 071.phpt | 21 … printf("[001] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true)); 28 …printf("[001] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi… 32 …printf("[001] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers… 48 … printf("[002] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true)); 55 …printf("[002] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi… 59 …printf("[002] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers…
|
H A D | mysqli_stmt_bind_result_references.phpt | 25 printf("[002] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 62 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 81 printf("[008] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 95 printf("[010] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 110 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 128 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 145 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 166 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 185 printf("[016] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | local_infile_tools.inc | 27 if (!mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name))) { 31 …!mysqli_query($link, $sql = sprintf('CREATE TABLE %s(id INT, label CHAR(1), PRIMARY KEY(id)) ENGIN… 37 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name)); 41 if (!@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s' 42 INTO TABLE %s 54 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name)); 97 printf("Callback set to '%s'\n", $handler); 104 if (!@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s' 109 printf("[%03d] LOAD DATA failed, [%d] %s\n", 128 printf("[%03d/%d] Expecting %s got %s\n", [all …]
|
H A D | mysqli_change_user_set_names.phpt | 10 die(sprintf("skip [%d] %s", mysqli_connect_errno(), mysqli_connect_error())); 13 die(sprintf("skip [%d] %s\n", mysqli_errno($link), mysqli_error($link))); 32 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 40 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 49 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 52 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 99 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 102 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 141 printf("[013] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset); 144 printf("[014] Expecting connection charset to be %s got %s\n", [all …]
|
H A D | mysqli_real_query.phpt | 16 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 19 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 28 …printf("[008] Expecting reseult object, got %s/%s [%d] %s\n", gettype($res), $res, mysqli_errno($l… 34 printf("[008] Expecting boolean/false, got %s/%s, [%d] %s\n", gettype($res), $res, 38 // let's try to play with stored procedures 48 … printf("[008a] Expecting array [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 54 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 70 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 88 printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); [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)); 32 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 41 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 44 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 47 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 50 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 53 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 57 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 60 printf("[011] Expecting mysqli_warning object, got %s/%s\n", gettype($warning), $warning); [all …]
|
H A D | mysqli_real_connect_pconn.phpt | 25 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 33 …ing boolean/false got %s/%s. Can connect to the server using host=%s, user=%s, passwd=***non_empty… 83 printf("[016] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 102 printf("[019] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 106 printf("[020] Cannot open temporary file %s\n", $filename); 123 printf("[022] Usage of mysqli.default_host=p:%s (persistent) failed\n", $host) ; 126 printf("[023] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 129 printf("[024] Result looks strange - check manually, [%d] %s\n", 146 printf("[026] Expecting not NULL, got %s/%s\n", gettype($tmp), $tmp); 155 Warning: mysqli_real_connect(): (%s/%d): Access denied for user '%s'@'%s' %r(\(using password: \w+\…
|
/PHP-8.1/ext/curl/tests/ |
H A D | check_win_config.phpt | 15 $s = ob_get_contents(); 17 preg_match('/curl\n\n(.+)\n\n/siU', $s, $m); 25 cURL Information => %s 49 MULTI_SSL => %s 50 BROTLI => %s 52 Host => %s-pc-win32 53 SSL Version => OpenSSL/%s 54 ZLib Version => %s 55 libSSH Version => libssh2/%s
|
/PHP-8.1/tests/lang/ |
H A D | passByReference_005.phpt | 173 Warning: Undefined variable $u1 in %s on line %d 175 Warning: Undefined variable $u1 in %s on line %d 179 Warning: Undefined variable $u1 in %s on line %d 181 Warning: Undefined variable $u2 in %s on line %d 183 Warning: Undefined variable $u1 in %s on line %d 185 Warning: Undefined variable $u2 in %s on line %d 189 Warning: Undefined variable $u1 in %s on line %d 191 Warning: Undefined variable $u1 in %s on line %d 195 Warning: Undefined variable $u2 in %s on line %d 197 Warning: Undefined variable $u2 in %s on line %d [all …]
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_errorinfo.phpt | 36 printf("[001] %s [%s] %s\n", 58 printf("[003] %s [%s] %s\n", 79 …ATE[42S02]: Base table or view not found: 1146 Table '%s.ihopeitdoesnotexist' doesn't exist in %s … 86 string(%d) "Table '%s.ihopeitdoesnotexist' doesn't exist" 89 …): SQLSTATE[42S02]: Base table or view not found: 1146 Table '%s.test' doesn't exist in %s on line… 97 string(%d) "Table '%s.test' doesn't exist" 109 …ATE[42S02]: Base table or view not found: 1146 Table '%s.ihopeitdoesnotexist' doesn't exist in %s … 120 …): SQLSTATE[42S02]: Base table or view not found: 1146 Table '%s.test' doesn't exist in %s on line… 127 string(%d) "Table '%s.test' doesn't exist"
|
H A D | pdo_mysql_stmt_errorcode.phpt | 30 printf("[001] %s [%s] %s\n", 45 printf("[003] %s [%s] %s\n", 54 …ATE[42S02]: Base table or view not found: 1146 Table '%s.ihopeitdoesnotexist' doesn't exist in %s … 58 …ATE[42S02]: Base table or view not found: 1146 Table '%s.ihopeitdoesnotexist' doesn't exist in %s … 60 Fatal error: Uncaught Error: Call to a member function execute() on bool in %s:%d 63 thrown in %s on line %d
|
/PHP-8.1/ext/zend_test/tests/ |
H A D | observer_basic_04.phpt | 20 <!-- init '%s%eobserver_basic_04.php' --> 21 <file '%s%eobserver_basic_04.php'> 24 <!-- init '%s%eobserver.inc' --> 25 <file '%s%eobserver.inc'> 28 </file '%s%eobserver.inc'> 30 </file '%s%eobserver_basic_04.php'>
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | bug69152.phpt | 5 $x = unserialize('O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"ryat";}'); 7 $x = unserialize('O:4:"test":1:{s:27:"__PHP_Incomplete_Class_Name";R:1;}'); 12 …rror: Uncaught TypeError: Cannot assign string to property Exception::$trace of type array in %s:%d 14 #0 %s(%d): unserialize('O:9:"exception"...') 16 thrown in %s on line %d
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | gh8208.phpt | 7 $s = "[service-Aufgaben S&W-Team][#19415] VM''s aufsetzen mit unterschiedlichen"; 10 $p . mb_encode_mimeheader($s, 'UTF-8', 'Q', "\015\012", strlen($p)), 11 mb_encode_mimeheader($p . $s, 'UTF-8', 'Q', "\015\012", 0) 15 string(84) "Subject: [service-Aufgaben S&W-Team][#19415] VM''s aufsetzen mit 17 string(84) "Subject: [service-Aufgaben S&W-Team][#19415] VM''s aufsetzen mit
|
/PHP-8.1/ext/date/tests/ |
H A D | bug68942.phpt | 5 …= unserialize('a:2:{i:0;O:12:"DateTimeZone":2:{s:13:"timezone_type";a:2:{i:0;i:1;i:1;i:2;}s:8:"tim… 9 Fatal error: Uncaught Error: Timezone initialization failed in %s:%d 12 #1 %s(%d): unserialize('a:2:{i:0;O:12:"...') 14 thrown in %s on line %d
|
/PHP-8.1/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_client.phpt | 22 $s = explode(".", $cv); 23 if (count($s) > 1 && (($s[0] == 10 && $s[1] >= 2) || $s[0] >= 11)) { 24 if (count($s) != 5) { 31 if (count($s) != 2) { 43 ATTR_CLIENT_VERSION: string(%d) "%d.%s"
|
/PHP-8.1/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_sjis_mac.c | 182 if (s <= 0x89) { in mbfl_filt_conv_sjis_mac_wchar() 183 if (s == 0x1c) { in mbfl_filt_conv_sjis_mac_wchar() 205 if (s >= code_tbl[i][0] && s <= code_tbl[i][1]) { in mbfl_filt_conv_sjis_mac_wchar() 234 if (s >= code_ofst_tbl[i][0] && s <= code_ofst_tbl[i][1]) { in mbfl_filt_conv_sjis_mac_wchar() 241 if (s >= 0x043e && s <= 0x0441) { in mbfl_filt_conv_sjis_mac_wchar() 243 } else if (s == 0x03b1 || s == 0x03b7) { in mbfl_filt_conv_sjis_mac_wchar() 245 } else if (s == 0x04b8 || s == 0x04b9 || s == 0x04c4) { in mbfl_filt_conv_sjis_mac_wchar() 247 } else if (s == 0x1ed9 || s == 0x1eda || s == 0x1ee8 || s == 0x1ef3 || in mbfl_filt_conv_sjis_mac_wchar() 248 (s >= 0x1ef5 && s <= 0x1efb) || s == 0x1f05 || s == 0x1f06 || in mbfl_filt_conv_sjis_mac_wchar() 249 s == 0x1f18 || (s >= 0x1ff2 && s <= 0x20a5)) { in mbfl_filt_conv_sjis_mac_wchar() [all …]
|
/PHP-8.1/sapi/cli/tests/ |
H A D | 015.phpt | 24 PHP %d.%d.%d%s(cli) (built: %s)%s 33 PHP %d.%d.%d%s(cli) (built: %s)%s 34 Usage: %s [options] [-f] <file> [--] [args...]
|
/PHP-8.1/ext/phar/tests/ |
H A D | bug77586.phpt | 19 …Uncaught PharException: tar-based phar "%s/bug77586.tar" cannot be created, link "%s" is too long … 21 #0 %s/bug77586.php(%d): PharData->buildFromDirectory('%s') 23 thrown in %s/bug77586.php %s on line %d
|