/php-src/ext/mysqli/tests/ |
H A D | mysqli_reap_async_query.phpt | 17 printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 22 printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 28 printf("[%03d + 1] There should be %d links ready to read from, %d ready\n", 38 printf("[%03d + 2] %s\n", $offset, var_export($res->fetch_assoc(), true)); 40 printf("[%03d + 3] Error indicated through links array: %d/%s", 43 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset); 48 printf("[%03d + 5] Error on %d: %d/%s\n", 52 printf("[%03d + 6] Rejecting thread %d: %d/%s\n",
|
H A D | mysqli_stmt_bind_limits.phpt | 43 printf("Testing %d columns with %d rows...\n", $num_params, $rows); 46 printf("[%03d + 01] [%d] %s\n", $offset, $link->errno, $link->error); 52 printf("[%03d + 02] [%d] %s\n", $offset, $link->errno, $link->error); 56 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm… 59 printf("... statement with %d parameters prepared\n", $stmt->param_count); 63 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error); 73 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error); 78 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm… 83 printf("[%03d + 04] [%d] %s\n", $offset, $stmt->errno, $stmt->error); 91 printf("[%03d + 05] [%d] %s\n", $offset, $link->errno, $link->error); [all …]
|
H A D | mysqli_stmt_execute_stored_proc.phpt | 12 die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link))); 25 printf("[009] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 51 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 54 printf("[018] Results seem wrong, got %s, [%d] %s\n", 67 printf("[019] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 90 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)); 170 printf("[045] Results seem wrong, got %s, [%d] %s\n", [all …]
|
H A D | mysqli_stmt_fetch_bit.phpt | 9 …die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect… 29 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,… 30 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link)); 33 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 38 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value)); 42 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 45 … $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value); 49 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 52 … printf("[006 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 55 …printf("[007 - %d] Insert of %d in BIT(%d) column might have failed. MySQL reports odd values, id … [all …]
|
/php-src/ext/standard/tests/dir/ |
H A D | readdir_variation5.phpt | 73 resource(%d) of type (stream) 75 string(%d) "%s" 81 string(%d) "%s" 87 string(%d) "%s" 93 string(%d) "%s" 99 string(%d) "%s" 105 string(%d) "%s" 111 string(%d) "%s" 117 string(%d) "%s" 123 string(%d) "%s" [all …]
|
/php-src/ext/simplexml/tests/ |
H A D | 033.phpt | 58 object(SimpleXMLElement)#%d (1) { 66 object(SimpleXMLElement)#%d (2) { 73 object(SimpleXMLElement)#%d (1) { 75 object(SimpleXMLElement)#%d (1) { 85 object(SimpleXMLElement)#%d (1) { 94 object(SimpleXMLElement)#%d (0) { 96 object(SimpleXMLElement)#%d (1) { 100 object(SimpleXMLElement)#%d (1) { 108 object(SimpleXMLElement)#%d (2) { 115 object(SimpleXMLElement)#%d (1) { [all …]
|
/php-src/Zend/tests/ |
H A D | closure_042.phpt | 7 $d = $c->bindTo(new stdClass); 8 $d(); 9 $rm = new ReflectionFunction($d); 13 $d = $c->bindTo(new stdClass, NULL); 14 $d(); 15 $rm = new ReflectionFunction($d); 21 object(stdClass)#%d (0) { 24 object(stdClass)#%d (0) {
|
/php-src/Zend/tests/function_arguments/ |
H A D | sensitive_parameter_variadic_arguments.phpt | 24 string(%d) "%ssensitive_parameter_variadic_arguments.php" 32 object(SensitiveParameterValue)#%d (0) { 35 object(SensitiveParameterValue)#%d (0) { 38 object(SensitiveParameterValue)#%d (0) { 47 string(%d) "%ssensitive_parameter_variadic_arguments.php" 55 object(SensitiveParameterValue)#%d (0) { 58 object(SensitiveParameterValue)#%d (0) { 61 object(SensitiveParameterValue)#%d (0) {
|
H A D | sensitive_parameter_eval_call.phpt | 19 #0 %ssensitive_parameter_eval_call.php(11) : eval()'d code(1): test(Object(SensitiveParameterValue)) 25 string(%d) "%ssensitive_parameter_eval_call.php(11) : eval()'d code" 33 object(SensitiveParameterValue)#%d (0) { 40 string(%d) "%ssensitive_parameter_eval_call.php" 51 string(%d) "%ssensitive_parameter_eval_call.php(11) : eval()'d code" 59 object(SensitiveParameterValue)#%d (0) { 66 string(%d) "%ssensitive_parameter_eval_call.php"
|
/php-src/ext/json/tests/ |
H A D | 001.phpt | 35 …: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in %s on line %d 37 object(stdClass)#%d (1) { 39 object(stdClass)#%d (1) { 44 object(stdClass)#%d (1) { 46 object(stdClass)#%d (1) { 51 object(stdClass)#%d (1) { 53 object(stdClass)#%d (1) { 58 object(stdClass)#%d (1) { 60 object(stdClass)#%d (1) {
|
/php-src/ext/date/tests/ |
H A D | date_period_set_state1.phpt | 22 object(DatePeriod)#%d (%d) { 24 object(DateTime)#%d (%d) { 35 object(DateTime)#%d (%d) { 44 object(DateInterval)#%d (%d) { 49 ["d"]=>
|
H A D | bug54851.phpt | 14 $datePre = DateTime::createFromFormat("!D d M Y", "Fri 17 may 2011"); 15 $datePost = DateTime::createFromFormat("!d M Y D", "17 may 2011 Fri"); 18 var_dump($datePre->format("Y-m-d") == $datePost->format("Y-m-d")); 29 $date1 = DateTime::createFromFormat("!D d M Y", "Fri 19 November 2011"); 33 var_dump($date1->format('Y-m-d') == $date2->format('Y-m-d')); 36 $date1 = DateTime::createFromFormat("!D d M Y", "Sat 19 November 2011"); 40 var_dump($date1->format('Y-m-d') == $date2->format('Y-m-d')); 44 Tue, %d %s %d 00:00:00 +0000 49 Tue, %d %s %d 00:00:00 +0000 50 Tue, %d %s %d 00:00:00 +0000
|
H A D | date_diff.phpt | 16 $d = clone $d0; 17 $dates[$i] = $d->add( new DateInterval( "P{$i}D" ) ); 22 // echo $dates[$i]->format( "Y-m-d\n" ); 27 printf( "\t%s %s %3d %s\n", 28 $dates[$i]->format( 'Y-m-d' ), 29 $dates[$j]->format( 'Y-m-d' ), 31 $diff->format( '%y-%m-%d' ) 48 $dates[$i]->format( 'Y-m-d' ), " + ", 49 $int->format( '%y-%m-%d' ), " = ", 50 $current->format( 'Y-m-d' ), " (", [all …]
|
H A D | mktime-3-64bit.phpt | 16 printf("Y: %4d - ", $year); 35 Y: 101 - January 0101-01-01T01:01:01-0%d 36 Y: 105 - January 0105-01-01T01:01:01-0%d 37 Y: 110 - January 0110-01-01T01:01:01-0%d 38 Y: 1900 - January 1900-01-01T01:01:01-0%d 39 Y: 1901 - January 1901-01-01T01:01:01-0%d 52 Y: 101 - January 0101-01-01T01:01:01+0%d 53 Y: 105 - January 0105-01-01T01:01:01+0%d 54 Y: 110 - January 0110-01-01T01:01:01+0%d 55 Y: 1900 - January 1900-01-01T01:01:01+0%d [all …]
|
/php-src/ext/odbc/tests/ |
H A D | odbc_primarykeys_001.phpt | 66 array(%d) { 70 string(%d) "dbo" 72 string(%d) "primarykeys" 74 string(%d) "test" 76 string(%d) "1" 78 string(%d) "primarykeys_pk" 80 array(%d) { 84 string(%d) "dbo" 86 string(%d) "primarykeys" 88 string(%d) "test" [all …]
|
/php-src/tests/security/ |
H A D | open_basedir_scandir.phpt | 34 Warning: scandir(): (errno 1): %s in %s on line %d 41 Warning: scandir(): (errno 1): %s in %s on line %d 46 Warning: scandir(..): Failed to open directory: %s in %s on line %d 48 Warning: scandir(): (errno 1): %s in %s on line %d 53 Warning: scandir(../): Failed to open directory: %s in %s on line %d 55 Warning: scandir(): (errno 1): %s in %s on line %d 60 Warning: scandir(/): Failed to open directory: %s in %s on line %d 62 Warning: scandir(): (errno 1): %s in %s on line %d 69 Warning: scandir(): (errno 1): %s in %s on line %d 76 Warning: scandir(): (errno 1): %s in %s on line %d [all …]
|
/php-src/ext/exif/tests/ |
H A D | bug72094.phpt | 26 Warning: exif_read_data(bug72094_1.jpg): Illegal IFD offset in %sbug72094.php on line %d 28 Warning: exif_read_data(bug72094_1.jpg): File structure corrupted in %s%ebug72094.php on line %d 30 Warning: exif_read_data(bug72094_1.jpg): Invalid JPEG file in %s%ebug72094.php on line %d 32 Warning: exif_read_data(bug72094_2.jpg): Illegal IFD size in %s%ebug72094.php on line %d 34 Warning: exif_read_data(bug72094_2.jpg): File structure corrupted in %s%ebug72094.php on line %d 36 Warning: exif_read_data(bug72094_2.jpg): Invalid JPEG file in %s%ebug72094.php on line %d 50 Warning: exif_read_data(bug72094_3.jpg): Illegal IFD size in %s%ebug72094.php on line %d 52 Warning: exif_read_data(bug72094_3.jpg): File structure corrupted in %s%ebug72094.php on line %d 54 Warning: exif_read_data(bug72094_3.jpg): Invalid JPEG file in %s%ebug72094.php on line %d 56 Warning: exif_read_data(bug72094_4.jpg): Invalid TIFF start (1) in %s%ebug72094.php on line %d [all …]
|
/php-src/ext/standard/tests/serialize/ |
H A D | unserialize_subclasses.phpt | 10 $d = serialize(new D); 14 var_dump(unserialize($d, ["allowed_classes" => ["C"]])); 15 var_dump(unserialize($d, ["allowed_classes" => ["D"]])); 18 object(C)#%d (0) { 20 object(__PHP_Incomplete_Class)#%d (1) { 24 object(__PHP_Incomplete_Class)#%d (1) { 28 object(D)#%d (0) {
|
/php-src/ext/ffi/tests/ |
H A D | 021.phpt | 57 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 59 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 61 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 63 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 65 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 67 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 69 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 71 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 73 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d 75 Deprecated: Calling FFI::new() statically is deprecated in %s on line %d [all …]
|
/php-src/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_b_64bit.phpt | 192 array(1) packed refcount(%d){ 197 array(1) packed refcount(%d){ 202 array(1) packed refcount(%d){ 207 array(1) packed refcount(%d){ 212 array(2) packed refcount(%d){ 229 array(2) refcount(%d){ 236 array(1) packed refcount(%d){ 241 array(1) packed refcount(%d){ 246 array(2) packed refcount(%d){ 253 array(2) packed refcount(%d){ [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | fprintf_variation_008.phpt | 10 $int_variation = array( "%d", "%-d", "%+d", "%7.2d", "%-7.2d", "%07.2d", "%-07.2d", "%'#7.2d" );
|
H A D | fprintf_variation_008_64bit.phpt | 10 $int_variation = array( "%d", "%-d", "%+d", "%7.2d", "%-7.2d", "%07.2d", "%-07.2d", "%'#7.2d" );
|
/php-src/ext/zlib/tests/ |
H A D | func.inc | 11 //if (preg_match(',zlib.*Compiled Version => (\d+\.\d+\.\d+),s', $info, $match)) { 13 …if (preg_match(',zlib(?!.*libXML).*Compiled Version (=> |</).*(\d+\.\d+\.\d+?),sU', $info, $match)…
|
/php-src/ext/pgsql/tests/ |
H A D | 98old_api.phpt | 48 Deprecated: Function pg_numrows() is deprecated in %s on line %d 50 Deprecated: Function pg_numfields() is deprecated in %s on line %d 52 Deprecated: Function pg_fieldname() is deprecated in %s on line %d 54 Deprecated: Function pg_fieldsize() is deprecated in %s on line %d 56 Deprecated: Function pg_fieldtype() is deprecated in %s on line %d 58 Deprecated: Function pg_fieldprtlen() is deprecated in %s on line %d 60 Deprecated: Function pg_fieldprtlen() is deprecated in %s on line %d 70 Deprecated: Function pg_result() is deprecated in %s on line %d 72 Deprecated: Function pg_result() is deprecated in %s on line %d 76 Deprecated: Function pg_getlastoid() is deprecated in %s on line %d [all …]
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionProperty_getDocComment_basic.phpt | 15 * My Doc Comment for $d 17 var $d; 46 string(%d) "/** 60 ---> Doc comment for A::$d: 61 string(%d) "/** 62 * My Doc Comment for $d 71 string(%d) "/** 92 ---> Doc comment for B::$d: 93 string(%d) "/** 94 * My Doc Comment for $d [all …]
|