/PHP-5.3/ext/date/lib/ |
H A D | tm2unixtime.c | 84 *d += days; in do_range_limit_days_relative() 94 *d += days; in do_range_limit_days_relative() 114 *d -= DAYS_PER_LYEAR_PERIOD * (*d / DAYS_PER_LYEAR_PERIOD); in do_range_limit_days() 132 if (*d <= 0) { in do_range_limit_days() 205 time->d += time->relative.d; in do_adjust_relative() 211 time->d = 1; in do_adjust_relative() 214 time->d = 0; in do_adjust_relative() 231 time->d += 2; in do_adjust_special_weekday() 235 time->d += 1; in do_adjust_special_weekday() 240 time->d += 2; in do_adjust_special_weekday() [all …]
|
/PHP-5.3/ext/gmp/tests/ |
H A D | 005.phpt | 37 Warning: gmp_strval() expects at least 1 parameter, 0 given in %s on line %d 41 Warning: gmp_strval() expects parameter 2 to be long, string given in %s on line %d 44 …p_strval(): Bad base for conversion: -1 (should be between 2 and %d or -2 and -%d) in %s on line %d 47 Warning: gmp_strval() expects parameter 2 to be long, string given in %s on line %d 54 …p_strval(): Bad base for conversion: -1 (should be between 2 and %d or -2 and -%d) in %s on line %d 57 …rval(): Bad base for conversion: 100000 (should be between 2 and %d or -2 and -%d) in %s on line %d 62 …p_strval(): Bad base for conversion: -1 (should be between 2 and %d or -2 and -%d) in %s on line %d 65 …rval(): Bad base for conversion: 100000 (should be between 2 and %d or -2 and -%d) in %s on line %d 69 Warning: gmp_strval() expects parameter 2 to be long, array given in %s on line %d 72 Warning: gmp_strval() expects parameter 2 to be long, object given in %s on line %d [all …]
|
H A D | 007.phpt | 55 resource(%d) of type (GMP integer) 57 resource(%d) of type (GMP integer) 66 resource(%d) of type (GMP integer) 68 resource(%d) of type (GMP integer) 81 resource(%d) of type (GMP integer) 83 resource(%d) of type (GMP integer) 89 resource(%d) of type (GMP integer) 91 resource(%d) of type (GMP integer) 97 resource(%d) of type (GMP integer) 99 resource(%d) of type (GMP integer) [all …]
|
/PHP-5.3/ext/date/tests/ |
H A D | oo_001.phpt | 15 $d = new DateTime; 16 var_dump($d->format("Y-m-d H:i:s")); 18 $d = new _d; 19 var_dump($d->format("Y-m-d H:i:s")); 42 string(19) "%d-%d-%d %d:%d:%d" 44 …he DateTime object has not been correctly initialized by its constructor in %soo_001.php on line %d 49 …ateTimeZone object has not been correctly initialized by its constructor in %soo_001.php on line %d
|
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 MET"))."\n"; 10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MEST"))."\n"; 11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n"; 12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; 13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; 14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n"; 15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n"; 16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n"; [all …]
|
H A D | mktime-1.phpt | 11 echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2000)) ."\n"; 12 echo date("Y-m-d", mktime( 12, 0, 0, 3, -1, 2000)) ."\n"; 13 echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2000)) ."\n"; 14 echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2001)) ."\n"; 15 echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2001)) ."\n"; 16 echo date("Y-m-d", mktime( 12, 0, 0, 0, 0, 2000)) ."\n"; 20 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,0))."\n"; 21 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,1))."\n"; 23 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,0))."\n"; 26 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,0))."\n"; [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | vfprintf_variation4.phpt | 23 '%d %+d %-d 24 %ld %Ld %4d %-4d 25 %10.4d %-10.4d %.4d %04.4d 26 %\'#2d %\'2d %\'$2d %\'_2d 27 %3$d %4$d %1$d %2$d'; 73 fprintf($fp, "\n-- Iteration %d --\n",$counter); 91 123456 d -1234 1234 97 123 d -123 123 103 1 d 1 1 109 1 d 0 1
|
H A D | vfprintf_variation4_64bit.phpt | 23 '%d %+d %-d 24 %ld %Ld %4d %-4d 25 %10.4d %-10.4d %.4d %04.4d 26 %\'#2d %\'2d %\'$2d %\'_2d 27 %3$d %4$d %1$d %2$d'; 73 fprintf($fp, "\n-- Iteration %d --\n",$counter); 91 123456 d -1234 1234 97 123 d -123 123 103 1 d 1 1 109 1 d 0 1
|
H A D | vprintf_variation4.phpt | 23 '%d %+d %-d 24 %ld %Ld %4d %-4d 25 %10.4d %-10.4d %.4d %04.4d 26 %\'#2d %\'2d %\'$2d %\'_2d 27 %3$d %4$d %1$d %2$d'; 81 123456 d -1234 1234 89 123 d -123 123 97 1 d 1 1 105 1 d 0 1
|
H A D | vprintf_variation4_64bit.phpt | 23 '%d %+d %-d 24 %ld %Ld %4d %-4d 25 %10.4d %-10.4d %.4d %04.4d 26 %\'#2d %\'2d %\'$2d %\'_2d 27 %3$d %4$d %1$d %2$d'; 81 123456 d -1234 1234 89 123 d -123 123 97 1 d 1 1 105 1 d 0 1
|
H A D | vsprintf_variation4.phpt | 23 '%d %+d %-d 24 %ld %Ld %4d %-4d 25 %10.4d %-10.4d %.4d %04.4d 26 %\'#2d %\'2d %\'$2d %\'_2d 27 %3$d %4$d %1$d %2$d'; 79 123456 d -1234 1234 86 123 d -123 123 93 1 d 1 1 100 1 d 0 1
|
H A D | vsprintf_variation4_64bit.phpt | 23 '%d %+d %-d 24 %ld %Ld %4d %-4d 25 %10.4d %-10.4d %.4d %04.4d 26 %\'#2d %\'2d %\'$2d %\'_2d 27 %3$d %4$d %1$d %2$d'; 79 123456 d -1234 1234 86 123 d -123 123 93 1 d 1 1 100 1 d 0 1
|
/PHP-5.3/ext/spl/tests/ |
H A D | observer_006.phpt | 84 object(MyStorage)#%d (2) { 92 object(TestClass)#%d (1) { 102 object(TestClass)#%d (1) { 111 string(%d) "%s" 116 object(MyStorage)#%d (2) { 124 object(TestClass)#%d (1) { 144 object(MyStorage)#%d (2) { 177 object(stdClass)#%d (0) { 196 object(TestClass)#%d (1) { 203 object(MyStorage)#%d (2) { [all …]
|
H A D | SplObjectStorage_unserialize_invalid_parameter2.phpt | 29 Error at offset %d of %d bytes 30 Error at offset %d of %d bytes 31 Error at offset %d of %d bytes 32 Error at offset %d of %d bytes 33 Error at offset %d of %d bytes
|
/PHP-5.3/ext/gd/tests/ |
H A D | libgd00100.phpt | 27 $d = 30; 31 $x+2*$d, $top, 32 $x+2*$d, $bot, 33 $x+$d, ($top+$bot)/2, 80 $d = 30; 83 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 88 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 93 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 102 $x+2*$d, $top, 103 $x+2*$d, $bot, [all …]
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | mb_split_variation1.phpt | 19 $string = 'a b c d e f g'; 107 string(13) "a b c d e f g" 113 string(13) "a b c d e f g" 119 string(13) "a b c d e f g" 125 string(13) "a b c d e f g" 131 string(13) "a b c d e f g" 137 string(13) "a b c d e f g" 143 string(13) "a b c d e f g" 149 string(13) "a b c d e f g" 155 string(13) "a b c d e f g" [all …]
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | asort_object1.phpt | 94 object(for_integer_asort)#%d (1) { 127 object(for_string_asort)#%d (1) { 132 object(for_string_asort)#%d (1) { 137 object(for_string_asort)#%d (1) { 142 object(for_string_asort)#%d (1) { 147 object(for_string_asort)#%d (1) { 151 ["d"]=> 152 object(for_string_asort)#%d (1) { 157 object(for_string_asort)#%d (1) { 162 object(for_string_asort)#%d (1) { [all …]
|
H A D | array_fill.phpt | 40 start: 0 num: 0 value: d 73 start: 0 num: 1 value: d 76 string(1) "d" 118 string(1) "d" 120 string(1) "d" 190 string(1) "d" 232 string(1) "d" 234 string(1) "d" 304 string(1) "d" 346 string(1) "d" [all …]
|
H A D | sort_object1.phpt | 91 object(for_integer_sort)#%d (1) { 96 object(for_integer_sort)#%d (1) { 124 object(for_string_sort)#%d (1) { 129 object(for_string_sort)#%d (1) { 134 object(for_string_sort)#%d (1) { 139 object(for_string_sort)#%d (1) { 144 object(for_string_sort)#%d (1) { 149 object(for_string_sort)#%d (1) { 154 object(for_string_sort)#%d (1) { 159 object(for_string_sort)#%d (1) { [all …]
|
H A D | krsort_variation1.phpt | 100 Warning: krsort() expects parameter 1 to be array, integer given in %s on line %d 103 Warning: krsort() expects parameter 1 to be array, integer given in %s on line %d 106 Warning: krsort() expects parameter 1 to be array, integer given in %s on line %d 217 Warning: krsort() expects parameter 1 to be array, null given in %s on line %d 220 Warning: krsort() expects parameter 1 to be array, null given in %s on line %d 223 Warning: krsort() expects parameter 1 to be array, null given in %s on line %d 226 Warning: krsort() expects parameter 1 to be array, null given in %s on line %d 230 Warning: krsort() expects parameter 1 to be array, null given in %s on line %d 233 Warning: krsort() expects parameter 1 to be array, null given in %s on line %d 236 Warning: krsort() expects parameter 1 to be array, null given in %s on line %d [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | disk_free_space_variation.phpt | 68 float(%d) 69 float(%d) 76 float(%d) 77 float(%d) 80 float(%d) 81 float(%d) 84 float(%d) 85 float(%d) 88 float(%d) 89 float(%d) [all …]
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_param_type_juggling.phpt | 16 printf("[%03d + 1] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link)); 23 printf("[%03d + 2] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link)); 28 printf("[%03d + 3] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link)); 33 printf("[%03d + 4] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 38 printf("[%03d + 5] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 43 printf("[%03d + 6] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 58 printf("[%03d + 9] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link)); 63 …printf("[%03d + 10] Expecting 2 rows, got %d rows [%d] %s\n", $offset, $tmp, mysqli_errno($link), … 68 printf("[%03d + 11] Expecting col1 = %s, col2 = %s got col1 = %s, col2 = %s - [%d] %s\n", 89 bind_twice($link, $engine, 'FLOAT', 'FLOAT', 'd', 'd', 1.01, 1.02, 30); [all …]
|
/PHP-5.3/ext/reflection/tests/ |
H A D | ReflectionClass_getMethods_003.phpt | 46 &object(ReflectionMethod)#%d (2) { 53 &object(ReflectionMethod)#%d (2) { 60 &object(ReflectionMethod)#%d (2) { 67 &object(ReflectionMethod)#%d (2) { 76 &object(ReflectionMethod)#%d (2) { 83 &object(ReflectionMethod)#%d (2) { 90 &object(ReflectionMethod)#%d (2) { 97 &object(ReflectionMethod)#%d (2) { 106 &object(ReflectionMethod)#%d (2) { 113 &object(ReflectionMethod)#%d (2) { [all …]
|
H A D | ReflectionClass_getProperties_003.phpt | 44 &object(ReflectionProperty)#%d (2) { 51 &object(ReflectionProperty)#%d (2) { 58 &object(ReflectionProperty)#%d (2) { 65 &object(ReflectionProperty)#%d (2) { 74 &object(ReflectionProperty)#%d (2) { 81 &object(ReflectionProperty)#%d (2) { 88 &object(ReflectionProperty)#%d (2) { 95 &object(ReflectionProperty)#%d (2) { 104 &object(ReflectionProperty)#%d (2) { 111 &object(ReflectionProperty)#%d (2) { [all …]
|
/PHP-5.3/tests/security/ |
H A D | open_basedir_dir.phpt | 43 Warning: dir(..): failed to open dir: %s in %s on line %d 53 Warning: dir(/): failed to open dir: %s in %s on line %d 70 object(Directory)#%d (2) { 72 string(%d) "%s/test/ok/" 74 resource(%d) of type (stream) 76 object(Directory)#%d (2) { 78 string(%d) "%s/test/ok" 80 resource(%d) of type (stream) 82 object(Directory)#%d (2) { 84 string(%d) "%s/test/ok/../ok" [all …]
|