3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$now1 = new DateTime(gmdate('Y-m-d H:i', time()), new DateTimeZone('UTC')); //$now2 = new DateTime('now', new DateTimeZone('UTC')); //var_dump($now1->format('Y-m-d H:i:s')); //var_dump($now2->format('Y-m-d H:i:s')); $test = false; var_dump(!empty($test));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false)