repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make test runner work in open source repo
[hiphop-php.git]
/
hphp
/
test
/
zend
/
bad
/
ext-date
/
bug41523.php
blob
e12cf9ae0491f8c3510a28ad0ed2177a54d50e3d
1
<
?php
2
date_default_timezone_set
(
"UTC"
);
3
4
var_dump
(
date_parse
(
'0000-00-00 00:00:00'
) );
5
var_dump
(
strtotime
(
'0000-00-00 00:00:00'
) );
6
var_dump
(
$dt
=
new
DateTime
(
'0000-00-00 00:00:00'
) );
7
echo
$dt
->
format
(
DateTime
::
ISO8601
),
"
\n
"
;
8
9
?
>