3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dt = new DateTime('@' . '1393426800.020000'); var_dump($dt);
based on PCq7S
Output for 7.1.0 - 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-02-26 15:00:00.020000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" }
Output for 5.4.30 - 5.4.45, 5.5.14 - 7.0.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-02-26 17:00:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" }
Output for 5.4.0 - 5.4.29, 5.5.0 - 5.5.13
object(DateTime)#1 (3) { ["date"]=> string(19) "2014-02-26 17:00:00" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" }