/PHP-8.0/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 | 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_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 | 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) );
|
H A D | gmdate_variation4.phpt | 9 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 13 var_dump( gmdate('D', $timestamp) ); 17 var_dump( gmdate('l', $timestamp) ); 21 var_dump( gmdate('S', $timestamp) );
|
H A D | gmdate_variation7.phpt | 9 $timestamp = mktime(8, 8, 8, 8, 8, 2008); 17 var_dump( gmdate('L', $timestamp) ); 21 var_dump( gmdate('o', $timestamp) ); 25 var_dump( gmdate('Y', $timestamp) ); 29 var_dump( gmdate('y', $timestamp) );
|
/PHP-8.0/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 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 241 Formatted timestamp is : 11/8/72 9:46 AM 246 Input timestamp is : 3600 [all …]
|
H A D | dateformat_format_variant2.phpt | 156 Input timestamp is : 0 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 241 Formatted timestamp is : 11/8/72, 9:46 AM 246 Input timestamp is : 3600 [all …]
|
H A D | dateformat_format_variant3.phpt | 158 Input timestamp is : 0 173 Input timestamp is : -1200000 188 Input timestamp is : 1200000 203 Input timestamp is : 2200000000 213 Formatted timestamp is : 9/18/39, 1:06 PM 218 Input timestamp is : -2200000000 228 Formatted timestamp is : 4/14/00, 2:53 PM 233 Input timestamp is : 90099999 243 Formatted timestamp is : 11/8/72, 9:46 AM 248 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 | 43 $res_str .= "\nFormatting timestamp=0 resulted in $formatted"; 45 $res_str .= "\nFormatting timestamp=3600 resulted in $formatted"; 68 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 7:00:00 PM Eastern Standard Time 69 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 8:00:00 PM Eastern Standard Time 73 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 4:00:00 PM Pacific Standard Time 74 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 5:00:00 PM Pacific Standard Time 78 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time 79 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time 83 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 6:00:00 PM Central Standard Time 84 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 7:00:00 PM Central Standard Time
|
H A D | dateformat_set_timezone_id3.phpt | 43 $res_str .= "\nFormatting timestamp=0 resulted in $formatted"; 45 $res_str .= "\nFormatting timestamp=3600 resulted in $formatted"; 68 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Eastern Standard Time 69 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 8:00:00 PM Eastern Standard … 73 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 4:00:00 PM Pacific Standard Time 74 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 5:00:00 PM Pacific Standard … 78 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time 79 Formatting timestamp=3600 resulted in Wednesday, December 31, 1969 at 7:00:00 PM Central Standard … 83 Formatting timestamp=0 resulted in Wednesday, December 31, 1969 at 6:00:00 PM Central Standard Time 84 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.0/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 …]
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | 020.phpt | 23 c3 timestamp(14), 26 c6 timestamp(4), 27 c7 timestamp(6))"); 33 c3 timestamp, 36 c6 timestamp, 37 c7 timestamp)");
|
/PHP-8.0/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.0/ext/date/ |
H A D | php_date.stub.php | 7 function date(string $format, ?int $timestamp = null): string {} argument 9 function idate(string $format, ?int $timestamp = null): int|false {} argument 11 function gmdate(string $format, ?int $timestamp = null): string {} argument 23 function strftime(string $format, ?int $timestamp = null): string|false {} argument 25 function gmstrftime(string $format, ?int $timestamp = null): string|false {} argument 31 function getdate(?int $timestamp = null): array {} argument 74 function date_timestamp_set(DateTime $object, int $timestamp): DateTime {} argument 106 int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, argument 111 int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, argument 232 public function setTimestamp(int $timestamp) {} argument [all …]
|