Home
last modified time | relevance | path

Searched refs:getdate (Results 1 – 13 of 13) sorted by relevance

/PHP-7.0/ext/date/tests/
H A Dgetdate_variation7.phpt2 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 Dgetdate_error.phpt2 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 Dgetdate_basic.phpt2 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 D008.phpt2 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 Dgetdate_variation1.phpt2 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 Dgetdate_variation2.phpt2 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 Dgetdate_variation6.phpt2 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 Dgetdate_variation3.phpt2 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 Dgetdate_variation4.phpt2 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 Dgetdate_variation5.phpt2 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 Dphp_date.h50 PHP_FUNCTION(getdate);
H A Dphp_date.c406 PHP_FE(getdate, arginfo_getdate)
1779 PHP_FUNCTION(getdate) in PHP_FUNCTION() argument
/PHP-7.0/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc73 $mtime = ($time !== null ? getdate($time) : getdate());

Completed in 30 milliseconds