/PHP-5.5/Zend/tests/ |
H A D | 002.phpt | 46 Warning: func_get_arg(): The argument number should be >= 0 in %s on line %d 49 Warning: func_get_arg(): Argument 0 not passed to function in %s on line %d 52 Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d 55 Warning: func_get_arg(): The argument number should be >= 0 in %s on line %d 59 Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d 63 Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d 66 Warning: Missing argument 1 for test2(), called in %s on line %d and defined in %s on line %d 68 Warning: func_get_arg(): Argument 0 not passed to function in %s on line %d 71 Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d 76 Warning: func_get_arg(): Argument 2 not passed to function in %s on line %d [all …]
|
/PHP-5.5/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 | htmlspecialchars_decode_variation2.phpt | 17 // value initialized = Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote str… 18 $string = "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. &quo… 99 string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quo… 102 string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quo… 105 string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " doubl… 108 string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " doubl… 111 string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " doubl… 139 string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " doubl… 142 string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " doubl… 145 string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote st… [all …]
|
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-5.5/ext/mysqli/tests/ |
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 NULL, 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 | mysqli_ps_select_union.phpt | 17 printf("[001] [%d] %s\n", $link->errno, $link->error); 28 printf("[002] [%d] %s\n", $link->errno, $link->error); 32 printf("[003] [%d] %s\n", $stmt->errno, $stmt->error); 37 printf("[004] Row %d, expecting %s/%s got %s/%s\n", 63 printf("[007] Row %d, expecting %s/%s got %s/%s\n", 93 printf("[011] Row %d, expecting %s/%s got %s/%s\n", 113 printf("[014] Row %d, expecting %s/%s got %s/%s\n", 142 printf("[018] Row %d, expecting %s/%s got %s/%s\n", 162 printf("[021] Row %d, expecting %s/%s got %s/%s\n", 202 printf("[26] Row %d, expecting %s/%s, got %s/%s\n", [all …]
|
H A D | mysqli_stmt_bind_result_format.phpt | 24 $sql = sprintf("CREATE TABLE test(id INT AUTO_INCREMENT PRIMARY KEY, col1 %s) ENGINE=%s", 53 printf("[%03d] Cannot create PS, [%d] %s\n", 60 $sql = sprintf('SELECT %s AS _format FROM %s ORDER BY %s', $format, $from, $order_by); 62 $sql = sprintf('SELECT %s AS _format FROM %s', $format, $from); 65 printf("[%03d] Cannot prepare PS, [%d] %s\n", 103 printf("[%03d] Expecting %s/%s got %s/%s with %s - %s.\n", 123 printf("[%03d] Row %d - expecting %s/%s got %s/%s [%s] with %s - %s.\n", 142 printf("[001] Cannot connect - [%d] %s\n", 231 …sprintf('INSERT INTO test(targetport, current_targets, maxreports, trend) VALUES (%d, %f, %s, %s)', 277 printf("%s/%s - %s/%s - '%s'\n", $trend, $exp_trend, $targetport, $exp_targetport, $format); [all …]
|
H A D | mysqli_report.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[008] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 153 …"[012] Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, … 166 …"[015] Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, … 294 Warning: mysqli_change_user(): (%d/%d): Access denied for user '%s'@'%s' (using password: %s) in %s… 305 [013] Access denied for user '%s'@'%s' (using password: YES) [all …]
|
H A D | mysqli_real_escape_string_nobackslash.phpt | 18 printf("[002] Expecting \\, got %s\n", $tmp); 21 printf("[003] Expecting \", got %s\n", $tmp); 24 printf("[004] Expecting '', got %s\n", $tmp); 27 printf("[005] Expecting \\n, got %s\n", $tmp); 30 printf("[006] Expecting \\r, got %s\n", $tmp); 34 printf("[007] Expecting %s, got %s\n", "foo" . chr(0) . "bar", $tmp); 36 if (!mysqli_query($link, sprintf('INSERT INTO test(id, label) VALUES (100, "%s")', 38 printf("[009] Cannot INSERT, [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 42 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 51 printf("[012] Expecting \\, got %s\n", $tmp); [all …]
|
H A D | mysqli_query.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("[002a] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 56 // let's try to play with stored procedures 103 printf("[013] Invalid mode should return false got %s/%s, [%d] %s\n", 111 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_prepare.phpt | 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[007] Expecting NULL, got %s/%s\n"); 55 Warning: mysqli_stmt_prepare(): Couldn't fetch mysqli_stmt in %s on line %d
|
/PHP-5.5/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 …]
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_pconn_max_links.phpt | 10 $host = sprintf("%s:%s", $host, $socket); 12 $host = sprintf("%s:%s", $host, $port); 50 …if (!mysql_query(sprintf('GRANT SELECT ON TABLE %s.test TO pcontest@"%s"', $db, mysql_real_escape_… 70 $host = sprintf("%s:%s", $host, $socket); 72 $host = sprintf("%s:%s", $host, $port); 86 if (!preg_match('@Active Persistent Links\s+=>\s+(\d+)@ismU', $phpinfo, $matches)) 95 printf("[005] Cannot run fetch result, [%d] %s\n", 132 printf("[011] Can connect using the old password, [%d] %s\n", 140 if (!preg_match('@Active Persistent Links\s+=>\s+(\d+)@ismU', $phpinfo, $matches)) 162 printf("[017] Cannot run fetch result, [%d] %s\n", [all …]
|
H A D | mysql_sql_safe_mode.phpt | 17 $host = sprintf("%s:%s", $host, $socket); 19 $host = sprintf("%s:%s", $host, $port); 33 Notice: mysql_connect(): SQL safe mode in effect - ignoring host/user/password information in %s on… 35 Warning: mysql_connect(): Access denied for user '%s'@'%s' (using password: NO) in %s on line %d 37 Notice: mysql_pconnect(): SQL safe mode in effect - ignoring host/user/password information in %s o… 39 Warning: mysql_pconnect(): Access denied for user '%s'@'%s' (using password: NO) in %s on line %d
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | 001.phpt | 15 class s 21 function s() 64 $t = new s(); 92 s:5:"hallo"; 93 a:6:{i:0;i:1;i:1;d:1.100000000000000088817841970012523233890533447265625;i:2;s:5:"hallo";i:3;N;i:4;… 94 O:1:"t":1:{s:1:"a";s:5:"hallo";} 100 O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";} 102 object(s)#%d (3) { 116 a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
|
/PHP-5.5/ext/date/tests/ |
H A D | bug27719.phpt | 11 echo "$a ".date("m/d/y h:i:s\n",$a); 12 echo "$b ".date("m/d/y h:i:s\n",$b); 13 echo "$c ".date("m/d/y h:i:s\n",$c); 19 echo "$a ".date("m/d/y h:i:s\n",$a); 20 echo "$b ".date("m/d/y h:i:s\n",$b); 21 echo "$c ".date("m/d/y h:i:s\n",$c); 27 echo "$a ".date("m/d/y h:i:s\n",$a); 28 echo "$b ".date("m/d/y h:i:s\n",$b); 29 echo "$c ".date("m/d/y h:i:s\n",$c); 35 echo "$a ".date("m/d/y h:i:s\n",$a); [all …]
|
/PHP-5.5/main/ |
H A D | snprintf.c | 93 return(s); in __cvt() 126 return(s); in __cvt() 407 *s++ = '0'; in php_conv_fp() 424 *s++ = '0'; in php_conv_fp() 431 *s++ = *p++; in php_conv_fp() 433 *s++ = '.'; in php_conv_fp() 441 *s++ = *p++; in php_conv_fp() 462 *s++ = '+'; in php_conv_fp() 463 *s++ = '0'; in php_conv_fp() 1178 s++; in format_converter() [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | rmdir_variation1-win32.phpt | 93 Error: 2 - rmdir(): %s, %s(%d) 97 Error: 2 - rmdir(): %s, %s(%d) 101 Error: 2 - rmdir(): %s, %s(%d) 105 Error: 2 - rmdir(): %s, %s(%d) 109 Error: 2 - rmdir(): %s, %s(%d) 113 Error: 2 - rmdir(): %s, %s(%d) 117 Error: 2 - rmdir(): %s, %s(%d) 121 Error: 2 - rmdir(): %s, %s(%d) 125 Error: 2 - rmdir( ): %s, %s(%d)
|
/PHP-5.5/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 | lob_041.phpt | 27 oci_define_by_name($s, "C1", $desc); 28 oci_execute($s); 29 $data = oci_fetch_assoc($s); 30 oci_free_statement($s); 38 oci_define_by_name($s, "C1", $desc); 39 oci_execute($s); 40 $data = oci_fetch_assoc($s); 41 $s = null; 49 oci_execute($s); 50 $data = oci_fetch_assoc($s); [all …]
|
/PHP-5.5/ext/imap/tests/ |
H A D | imap_fetchheader_variation2.phpt | 121 .. mailbox '{%s}%s' created 125 Warning: imap_fetchheader(): Bad message number in %s on line %d 131 To: %s 133 Content-Type: MULTIPART/mixed; BOUNDARY="%s" 139 Warning: imap_fetchheader(): Bad message number in %s on line %d 144 Warning: imap_fetchheader(): Bad message number in %s on line %d 149 Warning: imap_fetchheader(): Bad message number in %s on line %d 185 To: %s 187 Content-Type: MULTIPART/mixed; BOUNDARY="%s" 199 To: %s [all …]
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_pad_variation1.phpt | 104 Warning: array_pad() expects parameter 1 to be array, integer given in %s on line %d 132 Warning: array_pad() expects parameter 1 to be array, double given in %s on line %d 135 Warning: array_pad() expects parameter 1 to be array, double given in %s on line %d 167 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 170 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 174 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 177 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 251 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 254 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 258 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | rsort_variation1.phpt | 109 Warning: rsort() expects parameter 1 to be array, integer given in %s on line %d 113 Warning: rsort() expects parameter 1 to be array, integer given in %s on line %d 117 Warning: rsort() expects parameter 1 to be array, integer given in %s on line %d 262 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 266 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 270 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 274 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 279 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 283 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 287 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d [all …]
|
/PHP-5.5/ext/mbstring/libmbfl/filters/ |
H A D | mk_emoji_tbl.pl | 29 return $s; 34 $s = "\t"; 46 $s .= "\n\t"; 49 return $s; 80 $s = $key; 81 $pos = $s % 94; 110 $pos = $s % 94; 188 $s = $key; 189 $pos = $s % 94; 308 $s = $key; [all …]
|