/PHP-8.4/ext/date/tests/ |
H A D | gmdate_variation12_64bits.phpt | 14 $timestamp = mktime(20, 45, 54, 12, 13, 1901); 16 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 18 $timestamp = mktime(20, 45, 50, 12, 13, 1901); 20 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 23 $timestamp = mktime(03, 14, 07, 1, 19, 2038); 24 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 27 $timestamp = mktime(03, 14, 10, 1, 19, 2038); 28 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 34 -- Testing gmdate() function with minimum range of timestamp -- 37 -- Testing gmdate() function with less than the range of timestamp -- [all …]
|
H A D | gmdate_variation12.phpt | 15 $timestamp = mktime(20, 45, 54, 12, 13, 1901); 16 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 19 $timestamp = mktime(20, 45, 50, 12, 13, 1901); 20 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 23 $timestamp = mktime(03, 14, 07, 1, 19, 2038); 24 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 27 $timestamp = mktime(03, 14, 10, 1, 19, 2038); 28 var_dump( gmdate(DATE_ISO8601, $timestamp) ); 34 -- Testing gmdate() function with minimum range of timestamp -- 37 -- Testing gmdate() function with less than the range of timestamp -- [all …]
|
H A D | date_basic1.phpt | 10 $timestamp = mktime(10, 44, 30, 2, 27, 2009); 12 var_dump( date("F j, Y, g:i a", $timestamp) ); 13 var_dump( date("m.d.y", $timestamp) ); 14 var_dump( date("j, n, Y", $timestamp) ); 15 var_dump( date("Ymd", $timestamp) ); 16 var_dump( date('h-i-s, j-m-y, it is w Day', $timestamp) ); 17 var_dump( date('\i\t \i\s \t\h\e jS \d\a\y.', $timestamp) ); 18 var_dump( date("D M j G:i:s T Y", $timestamp) ); 19 var_dump( date('H:m:s \m \i\s\ \m\o\n\t\h', $timestamp) ); 20 var_dump( date("H:i:s", $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 | gmdate_variation10.phpt | 9 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 13 var_dump( gmdate('e', $timestamp) ); 17 var_dump( gmdate('I', $timestamp) ); 21 var_dump( gmdate('O', $timestamp) ); 25 var_dump( gmdate('P', $timestamp) ); 29 var_dump( gmdate('T', $timestamp) ); 33 var_dump( gmdate('T', $timestamp) );
|
H A D | gmdate_variation6.phpt | 9 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 13 var_dump( gmdate('F', $timestamp) ); 17 var_dump( gmdate('m', $timestamp) ); 21 var_dump( gmdate('M', $timestamp) ); 25 var_dump( gmdate('n', $timestamp) ); 29 var_dump( gmdate('t', $timestamp) );
|
H A D | idate_variation6.phpt | 12 $timestamp = mktime(8, 8, 8, 8, 8, 1970); 13 var_dump( idate($format, $timestamp) ); 16 $timestamp = mktime(8, 8, 8, 8, 8, 2001); 17 var_dump( idate($format, $timestamp) );
|
H A D | gmdate_variation11.phpt | 9 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 13 var_dump( gmdate('c', $timestamp) ); 17 var_dump( gmdate('r', $timestamp) ); 21 var_dump( gmdate('U', $timestamp) );
|
/PHP-8.4/ext/intl/tests/ |
H A D | dateformat_format_parse.phpt | 145 Input timestamp is : 0 150 Parsed timestamp is : 0 153 Parsed timestamp is : 0 156 Parsed timestamp is : 0 229 Input timestamp is : 3600 234 Parsed timestamp is : 3600 237 Parsed timestamp is : 3600 240 Parsed timestamp is : 3600 243 Input timestamp is : -3600 248 Parsed timestamp is : -3600 [all …]
|
H A D | dateformat_format_parse_version_icu72-1.phpt | 145 Input timestamp is : 0 150 Parsed timestamp is : 0 153 Parsed timestamp is : 0 156 Parsed timestamp is : 0 229 Input timestamp is : 3600 234 Parsed timestamp is : 3600 237 Parsed timestamp is : 3600 240 Parsed timestamp is : 3600 243 Input timestamp is : -3600 248 Parsed timestamp is : -3600 [all …]
|
H A D | dateformat_format_parse_version2.phpt | 146 Input timestamp is : 0 151 Parsed timestamp is : 0 154 Parsed timestamp is : 0 157 Parsed timestamp is : 0 230 Input timestamp is : 3600 235 Parsed timestamp is : 3600 238 Parsed timestamp is : 3600 241 Parsed timestamp is : 3600 244 Input timestamp is : -3600 249 Parsed timestamp is : -3600 [all …]
|
H A D | dateformat_format.phpt | 157 Input timestamp is : 0 172 Input timestamp is : -1200000 187 Input timestamp is : 1200000 202 Input timestamp is : 2200000000 212 Formatted timestamp is : 9/18/39 1:06 PM 217 Input timestamp is : -2200000000 227 Formatted timestamp is : 4/14/00 2:53 PM 232 Input timestamp is : 90099999 242 Formatted timestamp is : 11/8/72 9:46 AM 247 Input timestamp is : 3600 [all …]
|
H A D | dateformat_format_variant2.phpt | 157 Input timestamp is : 0 172 Input timestamp is : -1200000 187 Input timestamp is : 1200000 202 Input timestamp is : 2200000000 212 Formatted timestamp is : 9/18/39, 1:06 PM 217 Input timestamp is : -2200000000 227 Formatted timestamp is : 4/14/00, 2:53 PM 232 Input timestamp is : 90099999 242 Formatted timestamp is : 11/8/72, 9:46 AM 247 Input timestamp is : 3600 [all …]
|
H A D | dateformat_format_variant3.phpt | 159 Input timestamp is : 0 174 Input timestamp is : -1200000 189 Input timestamp is : 1200000 204 Input timestamp is : 2200000000 214 Formatted timestamp is : 9/18/39, 1:06 PM 219 Input timestamp is : -2200000000 229 Formatted timestamp is : 4/14/00, 2:53 PM 234 Input timestamp is : 90099999 244 Formatted timestamp is : 11/8/72, 9:46 AM 249 Input timestamp is : 3600 [all …]
|
H A D | dateformat_clone2.phpt | 17 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted"; 23 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted"; 25 $res_str .= "\nResult of clone formatting timestamp=0 is : \n$formatted"; 31 Result of formatting timestamp=0 is : 33 Result of formatting timestamp=0 is : 35 Result of clone formatting timestamp=0 is :
|
H A D | dateformat_set_timezone_id2.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 7:00:00 PM Eastern Standard Time 70 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 8:00:00 PM Eastern Standard Time 74 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 4:00:00 PM Pacific Standard Time 75 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 5:00:00 PM Pacific Standard Time 79 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time 80 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time 84 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time 85 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time
|
H A D | dateformat_set_timezone_id_icu72-1.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 …
|
H A D | dateformat_set_timezone_id3.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 at 7:00:00 PM Eastern Standard Time 71 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 8:00:00 PM Eastern Standard … 75 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 4:00:00 PM Pacific Standard Time 76 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 5:00:00 PM Pacific Standard … 80 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time 81 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard … 85 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time 86 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard …
|
H A D | dateformat_get_set_pattern2.phpt | 31 $res_str .= "\nResult of formatting timestamp=0 is : \n$formatted"; 42 … $res_str .= "\nResult of formatting timestamp=0 with the new pattern is : \n$formatted"; 59 Result of formatting timestamp=0 is : 64 Result of formatting timestamp=0 with the new pattern is : 70 Result of formatting timestamp=0 with the new pattern is : 76 Result of formatting timestamp=0 with the new pattern is : 82 Result of formatting timestamp=0 with the new pattern is :
|
/PHP-8.4/ext/soap/tests/bugs/ |
H A D | bug35142.phpt | 10 $timestamp = "2005-11-08T11:22:07+03:00"; 45 $logOnEvent = new LogOnEvent(34567, $timestamp); 46 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked"); 54 public $timestamp; 60 $this->timestamp = $timestamp; 68 public $timestamp; 70 function __construct($audienceMemberId, $timestamp) { 72 $this->timestamp = $timestamp; 111 ["timestamp"]=> 120 ["timestamp"]=> [all …]
|
H A D | bug36226.phpt | 10 $timestamp = "2005-11-08T11:22:07+03:00"; 46 $logOnEvent = new LogOnEvent(34567, $timestamp); 47 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked"); 55 public $timestamp; 61 $this->timestamp = $timestamp; 69 public $timestamp; 71 function __construct($audienceMemberId, $timestamp) { 73 $this->timestamp = $timestamp; 114 ["timestamp"]=> 124 ["timestamp"]=> [all …]
|
H A D | bug36226-2.phpt | 9 $timestamp = "2005-11-08T11:22:07+03:00"; 48 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked"); 49 //$logOffEvents[] = new LogOffEvent(34568, $timestamp, "SmokeFree"); 55 public $timestamp; 59 function __construct($audienceMemberId, $timestamp, $smokeStatus) { 61 $this->timestamp = $timestamp; 69 public $timestamp; 71 function __construct($audienceMemberId, $timestamp) { 73 $this->timestamp = $timestamp; 98 …essageId="12345" source="IVR"><ns1:logOffEvent audienceMemberId="34567" timestamp="2005-11-08T11:2… [all …]
|
/PHP-8.4/ext/standard/tests/misc/ |
H A D | gh14774.phpt | 18 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d 19 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d 20 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d 21 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d 22 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d 23 time_sleep_until(): Argument #1 ($timestamp) must be between 0 and %d
|
/PHP-8.4/ext/intl/dateformat/ |
H A D | dateformat_format.c | 31 static void internal_format(IntlDateFormatter_object *dfo, UDate timestamp, zval *return_value) in internal_format() argument 36 …resultlengthneeded=udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, NULL, resultlengthneeded, NULL… in internal_format() 41 …udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, formatted, resultlengthneeded, NULL, &INTL_DATA_E… in internal_format() 143 UDate timestamp = 0; in PHP_FUNCTION() local 165 timestamp = internal_get_timestamp(dfo, hash_arr); in PHP_FUNCTION() 168 timestamp = intl_zval_to_millis(zarg, INTL_DATA_ERROR_P(dfo), in PHP_FUNCTION() 175 internal_format( dfo, timestamp, return_value); in PHP_FUNCTION()
|
/PHP-8.4/ext/mysqli/tests/ |
H A D | bug76386.phpt | 15 …die(sprintf("skip Server doesn't support fractional seconds in timestamp (%s)", mysqli_get_server_… 27 'ts timestamp default current_timestamp(), ts2 timestamp(2) default ' . 28 'current_timestamp(2), ts2b timestamp(2) default "2018-01-01 03:04:05.06", ' . 29 'ts4 timestamp(4) default current_timestamp(4), ts4b timestamp(4) default ' . 30 '"2018-01-01 03:04:05.0070", ts6 timestamp(6) default current_timestamp(6), ts6b ' . 31 'timestamp(6) default "2018-01-01 03:04:05.008000") character set utf8 collate ' .
|