/PHP-7.2/ext/date/tests/ |
H A D | gmdate_variation12.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 16 $timestamp = mktime(20, 45, 54, 12, 13, 1901); 18 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 20 $timestamp = mktime(20, 45, 50, 12, 13, 1901); 22 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 25 $timestamp = mktime(03, 14, 07, 1, 19, 2038); 26 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 29 $timestamp = mktime(03, 14, 10, 1, 19, 2038); 30 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 37 -- Testing gmdate\(\) function with minimum range of timestamp -- [all …]
|
H A D | date_basic1.phpt | 5 /* Prototype : string date ( string $format [, int $timestamp ] ) 15 $timestamp = mktime(10, 44, 30, 2, 27, 2009); 17 var_dump( date("F j, Y, g:i a", $timestamp) ); 18 var_dump( date("m.d.y", $timestamp) ); 19 var_dump( date("j, n, Y", $timestamp) ); 20 var_dump( date("Ymd", $timestamp) ); 21 var_dump( date('h-i-s, j-m-y, it is w Day', $timestamp) ); 22 var_dump( date('\i\t \i\s \t\h\e jS \d\a\y.', $timestamp) ); 23 var_dump( date("D M j G:i:s T Y", $timestamp) ); 24 var_dump( date('H:m:s \m \i\s\ \m\o\n\t\h', $timestamp) ); [all …]
|
H A D | gmdate_variation14.phpt | 2 …gmdate() function : usage variation - Passing high positive and negetive float values to timestamp. 7 /* Prototype : string gmdate(string format [, long timestamp]) 18 echo "\n-- Testing gmdate() function with float 12.3456789000e10 to timestamp --\n"; 19 $timestamp = 12.3456789000e10; 20 var_dump( gmdate($format, $timestamp) ); 22 echo "\n-- Testing gmdate() function with float -12.3456789000e10 to timestamp --\n"; 23 $timestamp = -12.3456789000e10; 24 var_dump( gmdate($format, $timestamp) ); 31 -- Testing gmdate() function with float 12.3456789000e10 to timestamp -- 36 -- Testing gmdate() function with float -12.3456789000e10 to timestamp --
|
H A D | getdate_variation7.phpt | 2 …etdate() function : usage variation - Passing high positive and negative float values to timestamp. 7 /* Prototype : array getdate([int timestamp]) 16 echo "\n-- Testing getdate() function by passing float 12.3456789000e10 value to timestamp --\n"; 17 $timestamp = 12.3456789000e10; 18 var_dump( getdate($timestamp) ); 20 echo "\n-- Testing getdate() function by passing float -12.3456789000e10 value to timestamp --\n"; 21 $timestamp = -12.3456789000e10; 22 var_dump( getdate($timestamp) ); 28 -- Testing getdate() function by passing float 12.3456789000e10 value to timestamp -- 33 -- Testing getdate() function by passing float -12.3456789000e10 value to timestamp --
|
H A D | idate_variation3.phpt | 2 …date() function : usage variation - Passing higher positive and negetive float values to timestamp. 7 /* Prototype : int idate(string format [, int timestamp]) 19 echo "\n-- Testing idate() function with float 12.3456789000e10 to timestamp --\n"; 20 $timestamp = 12.3456789000e10; 21 var_dump( idate($format, $timestamp) ); 23 echo "\n-- Testing idate() function with float -12.3456789000e10 to timestamp --\n"; 24 $timestamp = -12.3456789000e10; 25 var_dump( idate($format, $timestamp) ); 32 -- Testing idate() function with float 12.3456789000e10 to timestamp -- 37 -- Testing idate() function with float -12.3456789000e10 to timestamp --
|
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 | 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 | gmdate_variation10.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 15 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 19 var_dump( gmdate('e', $timestamp) ); 23 var_dump( gmdate('I', $timestamp) ); 27 var_dump( gmdate('O', $timestamp) ); 31 var_dump( gmdate('P', $timestamp) ); 35 var_dump( gmdate('T', $timestamp) ); 39 var_dump( gmdate('T', $timestamp) );
|
H A D | bug66836.phpt | 7 foreach (['-1', '-86400', '-1000000'] as $timestamp) { 8 $dt = DateTime::createFromFormat('U', $timestamp); 9 var_dump($dt->format('U') === $timestamp);
|
H A D | idate_variation6.phpt | 5 /* Prototype : int idate(string format [, int timestamp]) 18 $timestamp = mktime(8, 8, 8, 8, 8, 1970); 19 var_dump( idate($format, $timestamp) ); 22 $timestamp = mktime(8, 8, 8, 8, 8, 2001); 23 var_dump( idate($format, $timestamp) );
|
H A D | gmdate_variation6.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 15 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 19 var_dump( gmdate('F', $timestamp) ); 23 var_dump( gmdate('m', $timestamp) ); 27 var_dump( gmdate('M', $timestamp) ); 31 var_dump( gmdate('n', $timestamp) ); 35 var_dump( gmdate('t', $timestamp) );
|
H A D | gmdate_variation11.phpt | 5 /* Prototype : string gmdate(string format [, long timestamp]) 15 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 19 var_dump( gmdate('c', $timestamp) ); 23 var_dump( gmdate('r', $timestamp) ); 27 var_dump( gmdate('U', $timestamp) );
|
/PHP-7.2/ext/intl/tests/ |
H A D | dateformat_format_parse.phpt | 144 Input timestamp is : 0 149 Parsed timestamp is : 0 152 Parsed timestamp is : 0 155 Parsed timestamp is : 0 228 Input timestamp is : 3600 233 Parsed timestamp is : 3600 236 Parsed timestamp is : 3600 239 Parsed timestamp is : 3600 242 Input timestamp is : -3600 247 Parsed timestamp is : -3600 [all …]
|
H A D | dateformat_format_parse_version2.phpt | 144 Input timestamp is : 0 149 Parsed timestamp is : 0 152 Parsed timestamp is : 0 155 Parsed timestamp is : 0 228 Input timestamp is : 3600 233 Parsed timestamp is : 3600 236 Parsed timestamp is : 3600 239 Parsed timestamp is : 3600 242 Input timestamp is : -3600 247 Parsed timestamp is : -3600 [all …]
|
H A D | dateformat_format.phpt | 156 Input timestamp is : 0 166 Formatted timestamp is : 12/31/69 2:00 PM 171 Input timestamp is : -1200000 186 Input timestamp is : 1200000 201 Input timestamp is : 2200000000 211 Formatted timestamp is : 9/18/39 1:06 PM 216 Input timestamp is : -2200000000 226 Formatted timestamp is : 4/14/00 2:53 PM 231 Input timestamp is : 90099999 246 Input timestamp is : 3600 [all …]
|
H A D | dateformat_format_variant2.phpt | 156 Input timestamp is : 0 166 Formatted timestamp is : 12/31/69, 2:00 PM 171 Input timestamp is : -1200000 186 Input timestamp is : 1200000 201 Input timestamp is : 2200000000 211 Formatted timestamp is : 9/18/39, 1:06 PM 216 Input timestamp is : -2200000000 226 Formatted timestamp is : 4/14/00, 2:53 PM 231 Input timestamp is : 90099999 246 Input timestamp is : 3600 [all …]
|
H A D | dateformat_format_variant3.phpt | 156 Input timestamp is : 0 166 Formatted timestamp is : 12/31/69, 2:00 PM 171 Input timestamp is : -1200000 186 Input timestamp is : 1200000 201 Input timestamp is : 2200000000 211 Formatted timestamp is : 9/18/39, 1:06 PM 216 Input timestamp is : -2200000000 226 Formatted timestamp is : 4/14/00, 2:53 PM 231 Input timestamp is : 90099999 246 Input timestamp is : 3600 [all …]
|
H A D | dateformat_set_timezone_id.phpt | 39 $res_str .= "\nFormatting timestamp=0 resulted in $formatted"; 41 $res_str .= "\nFormatting timestamp=3600 resulted in $formatted"; 60 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 7:00:00 PM Eastern Standard Time 61 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 8:00:00 PM Eastern Standard Time 65 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 4:00:00 PM Pacific Standard Time 66 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 5:00:00 PM Pacific Standard Time 70 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time 71 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time 75 Formatting timestamp=0 resulted in Thursday, January 1, 1970 12:00:00 AM GMT+00:00 76 Formatting timestamp=3600 resulted in Thursday, January 1, 1970 1:00:00 AM GMT+00:00
|
H A D | dateformat_clone.phpt | 18 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted"; 24 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted"; 26 $res_str .= "\nResult of clone formatting timestamp=0 is : \n$formatted"; 32 Result of formatting timestamp=0 is : 34 Result of formatting timestamp=0 is : 36 Result of clone formatting timestamp=0 is :
|
H A D | dateformat_clone2.phpt | 18 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted"; 24 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted"; 26 $res_str .= "\nResult of clone formatting timestamp=0 is : \n$formatted"; 32 Result of formatting timestamp=0 is : 34 Result of formatting timestamp=0 is : 36 Result of clone formatting timestamp=0 is :
|
H A D | dateformat_set_timezone_id2.phpt | 45 $res_str .= "\nFormatting timestamp=0 resulted in $formatted"; 47 $res_str .= "\nFormatting timestamp=3600 resulted in $formatted"; 70 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 7:00:00 PM Eastern Standard Time 71 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 8:00:00 PM Eastern Standard Time 75 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 4:00:00 PM Pacific Standard Time 76 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 5:00:00 PM Pacific Standard Time 80 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time 81 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time 85 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time 86 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time
|
H A D | dateformat_set_timezone_id3.phpt | 44 $res_str .= "\nFormatting timestamp=0 resulted in $formatted"; 46 $res_str .= "\nFormatting timestamp=3600 resulted in $formatted"; 69 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Eastern Standard Time 70 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 8:00:00 PM Eastern Standard … 74 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 4:00:00 PM Pacific Standard Time 75 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 5:00:00 PM Pacific Standard … 79 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time 80 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard … 84 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time 85 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard …
|
/PHP-7.2/ext/soap/tests/bugs/ |
H A D | bug35142.phpt | 10 $timestamp = "2005-11-08T11:22:07+03:00"; 41 $logOnEvent = new LogOnEvent(34567, $timestamp); 42 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked"); 50 public $timestamp; 56 $this->timestamp = $timestamp; 64 public $timestamp; 66 function __construct($audienceMemberId, $timestamp) { 68 $this->timestamp = $timestamp; 107 ["timestamp"]=> 116 ["timestamp"]=> [all …]
|
H A D | bug36226.phpt | 10 $timestamp = "2005-11-08T11:22:07+03:00"; 42 $logOnEvent = new LogOnEvent(34567, $timestamp); 43 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked"); 51 public $timestamp; 57 $this->timestamp = $timestamp; 65 public $timestamp; 67 function __construct($audienceMemberId, $timestamp) { 69 $this->timestamp = $timestamp; 110 ["timestamp"]=> 120 ["timestamp"]=> [all …]
|
H A D | bug36226-2.phpt | 9 $timestamp = "2005-11-08T11:22:07+03:00"; 46 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked"); 47 //$logOffEvents[] = new LogOffEvent(34568, $timestamp, "SmokeFree"); 53 public $timestamp; 57 function __construct($audienceMemberId, $timestamp, $smokeStatus) { 59 $this->timestamp = $timestamp; 67 public $timestamp; 69 function __construct($audienceMemberId, $timestamp) { 71 $this->timestamp = $timestamp; 96 …essageId="12345" source="IVR"><ns1:logOffEvent audienceMemberId="34567" timestamp="2005-11-08T11:2… [all …]
|