Searched refs:getdate (Results 1 – 13 of 13) sorted by relevance
/PHP-7.0/ext/date/tests/ |
H A D | getdate_variation7.phpt | 2 Test getdate() function : usage variation - Passing high positive and negative float values to time… 7 /* Prototype : array getdate([int timestamp]) 13 echo "*** Testing getdate() : usage variation ***\n"; 16 echo "\n-- Testing getdate() function by passing float 12.3456789000e10 value to timestamp --\n"; 18 var_dump( getdate($timestamp) ); 22 var_dump( getdate($timestamp) ); 26 *** Testing getdate() : usage variation *** 28 -- Testing getdate() function by passing float 12.3456789000e10 value to timestamp -- 30 Warning: getdate() expects parameter 1 to be integer, float given in %s on line %d 33 -- Testing getdate() function by passing float -12.3456789000e10 value to timestamp -- [all …]
|
H A D | getdate_error.phpt | 2 Test getdate() function : error conditions 5 /* Prototype : array getdate([int timestamp]) 11 echo "*** Testing getdate() : error conditions ***\n"; 16 //Test getdate with one more than the expected number of arguments 17 echo "\n-- Testing getdate() function with more than expected no. of arguments --\n"; 20 var_dump( getdate($timestamp, $extra_arg) ); 25 *** Testing getdate() : error conditions *** 27 -- Testing getdate() function with more than expected no. of arguments -- 29 Warning: getdate() expects at most 1 parameter, 2 given in %s on line %d
|
H A D | getdate_basic.phpt | 2 Test getdate() function : basic functionality 5 /* Prototype : array getdate([int timestamp]) 10 echo "*** Testing getdate() : basic functionality ***\n"; 18 // Calling getdate() with all possible arguments 19 var_dump( getdate($timestamp) ); 21 // Calling getdate() with mandatory arguments 22 var_dump( getdate() ); 27 *** Testing getdate() : basic functionality ***
|
H A D | 008.phpt | 2 getdate() tests 8 var_dump(getdate(1,1)); 10 var_dump(getdate($t)); 11 var_dump(getdate()); 16 Warning: getdate() expects at most 1 parameter, 2 given in %s on line %d
|
H A D | getdate_variation1.phpt | 2 Test getdate() function : usage variation - Passing unexpected values to first argument timestamp. 5 /* Prototype : array getdate([int timestamp]) 11 echo "*** Testing getdate() : usage variation ***\n"; 90 var_dump( getdate($value) ); 96 *** Testing getdate() : usage variation *** 178 Warning: getdate() expects parameter 1 to be integer, array given in %s on line %d 183 Warning: getdate() expects parameter 1 to be integer, array given in %s on line %d 188 Warning: getdate() expects parameter 1 to be integer, array given in %s on line %d 193 Warning: getdate() expects parameter 1 to be integer, array given in %s on line %d 354 Warning: getdate() expects parameter 1 to be integer, string given in %s on line %d [all …]
|
H A D | getdate_variation2.phpt | 2 Test getdate() function : usage variation - Passing octal timestamp values 5 /* Prototype : array getdate([int timestamp]) 11 echo "*** Testing getdate() : usage variation ***\n"; 29 var_dump( getdate($value) ); 35 *** Testing getdate() : usage variation ***
|
H A D | getdate_variation6.phpt | 2 Test getdate() function : usage variation - Passing strings containing numbers 5 /* Prototype : array getdate([int timestamp]) 11 echo "*** Testing getdate() : usage variation ***\n"; 25 var_dump( getdate($value) ); 30 *** Testing getdate() : usage variation ***
|
H A D | getdate_variation3.phpt | 2 Test getdate() function : usage variation - Passing hexadcimal timestamp values 5 /* Prototype : array getdate([int timestamp]) 11 echo "*** Testing getdate() : usage variation ***\n"; 29 var_dump( getdate($value) ); 35 *** Testing getdate() : usage variation ***
|
H A D | getdate_variation4.phpt | 2 Test getdate() function : usage variation - Verifyig by supplying year-wise sample time stamps sinc… 5 /* Prototype : array getdate([int timestamp]) 11 echo "*** Testing getdate() : usage variation ***\n"; 30 var_dump( getdate($value) ); 36 *** Testing getdate() : usage variation ***
|
H A D | getdate_variation5.phpt | 2 Test getdate() function : usage variation - Verifyig with different timezones on Unix epoch timesta… 5 /* Prototype : array getdate([int timestamp]) 11 echo "*** Testing getdate() : usage variation ***\n"; 35 var_dump( getdate(0) ); 40 *** Testing getdate() : usage variation ***
|
/PHP-7.0/ext/date/ |
H A D | php_date.h | 50 PHP_FUNCTION(getdate);
|
H A D | php_date.c | 406 PHP_FE(getdate, arginfo_getdate) 1779 PHP_FUNCTION(getdate) in PHP_FUNCTION() argument
|
/PHP-7.0/ext/phar/tests/zip/files/ |
H A D | corrupt_zipmaker.php.inc | 73 $mtime = ($time !== null ? getdate($time) : getdate());
|
Completed in 30 milliseconds