/PHP-7.4/ext/date/tests/ |
H A D | localtime_variation3.phpt | 7 /* Prototype : array localtime([int timestamp [, bool associative_array]]) 20 echo "\n-- Testing localtime() function with 'float 12.3456789000e10' to timestamp --\n"; 21 $timestamp = 12.3456789000e10; 22 var_dump( localtime($timestamp) ); 23 var_dump( localtime($timestamp, $is_associative) ); 25 echo "\n-- Testing localtime() function with 'float -12.3456789000e10' to timestamp --\n"; 26 $timestamp = -12.3456789000e10; 27 var_dump( localtime($timestamp) ); 28 var_dump( localtime($timestamp, $is_associative) ); 35 -- Testing localtime() function with 'float 12.3456789000e10' to timestamp -- [all …]
|
H A D | localtime_variation4.phpt | 2 Test localtime() function : usage variation - Passing octal values to timestamp. 5 /* Prototype : array localtime([int timestamp [, bool associative_array]])
|
H A D | localtime_variation5.phpt | 2 Test localtime() function : usage variation - Passing hexa decimal values to timestamp. 5 /* Prototype : array localtime([int timestamp [, bool associative_array]])
|
H A D | mktime_basic1.phpt | 6 * Description: Get Unix timestamp for a date
|
H A D | mktime_error.phpt | 6 * Description: Get Unix timestamp for a date
|
H A D | strftime_basic.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 19 var_dump( strftime($format, $timestamp) );
|
H A D | strftime_variation10.phpt | 11 /* Prototype : string strftime(string format [, int timestamp]) 22 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 30 // loop through each element of the array for timestamp 35 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation11.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 21 var_dump( strftime($format, $timestamp) );
|
H A D | strftime_variation12.phpt | 11 /* Prototype : string strftime(string format [, int timestamp]) 22 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 27 var_dump( strftime($format, $timestamp) );
|
H A D | strftime_variation13.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 26 // loop through each element of the array for timestamp 31 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation14.phpt | 11 /* Prototype : string strftime(string format [, int timestamp]) 22 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 32 // loop through each element of the array for timestamp 37 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation15.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 25 // loop through each element of the array for timestamp 30 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation16.phpt | 11 /* Prototype : string strftime(string format [, int timestamp]) 22 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 31 // loop through each element of the array for timestamp 36 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation17.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 21 var_dump( strftime($format, $timestamp) );
|
H A D | strftime_variation18.phpt | 11 /* Prototype : string strftime(string format [, int timestamp]) 22 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 27 var_dump( strftime($format, $timestamp) );
|
H A D | strftime_variation19.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 24 // loop through each element of the array for timestamp 29 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation20.phpt | 11 /* Prototype : string strftime(string format [, int timestamp]) 22 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 30 // loop through each element of the array for timestamp 35 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation21.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 25 // loop through each element of the array for timestamp 30 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation22.phpt | 14 /* Prototype : string strftime(string format [, int timestamp]) 26 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 35 // loop through each element of the array for timestamp 40 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation23.phpt | 2 …time() function : usage variation - Checking large positive and negative float values to timestamp. 7 /* Prototype : string strftime(string format [, int timestamp]) 20 echo "\n-- Testing strftime() function with float 12.3456789000e10 to timestamp --\n"; 21 $timestamp = 12.3456789000e10; 22 var_dump( strftime($format, $timestamp) ); 24 echo "\n-- Testing strftime() function with float -12.3456789000e10 to timestamp --\n"; 25 $timestamp = -12.3456789000e10; 26 var_dump( strftime($format, $timestamp) ); 33 -- Testing strftime() function with float 12.3456789000e10 to timestamp -- 38 -- Testing strftime() function with float -12.3456789000e10 to timestamp --
|
H A D | strftime_variation3.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 15 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 24 // loop through each element of the array for timestamp 29 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation4.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 15 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 24 // loop through each element of the array for timestamp 29 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation5.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 26 // loop through each element of the array for timestamp 31 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation6.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(18, 8, 8, 8, 8, 2008); 28 // loop through each element of the array for timestamp 33 var_dump( strftime($value, $timestamp) );
|
H A D | strftime_variation7.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $timestamp = mktime(18, 8, 8, 8, 8, 2008); 26 // loop through each element of the array for timestamp 31 var_dump( strftime($value, $timestamp) );
|