mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
fb183b1777
#- [DOC]
12 lines
269 B
PHP
12 lines
269 B
PHP
--TEST--
|
|
Format timestamp in DST test
|
|
--INI--
|
|
date.timezone=CEST
|
|
--FILE--
|
|
<?php
|
|
error_reporting(E_ALL & ~E_WARNING); // hide e_warning warning about timezones
|
|
var_dump( date_create( '@1202996091' )->format( 'c' ) );
|
|
?>
|
|
--EXPECT--
|
|
string(25) "2008-02-14T13:34:51+00:00"
|