3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "datetime: " . date('Y-m-d H:i:s') . "\n"; echo "datetime with offset: " . date('Y-m-d H:i:s', date('Y-m-d H:i:s') + 32400);
based on ROIZt
Output for 7.1.0 - 7.2.0
datetime: 2016-01-07 22:23:25 Notice: A non well formed numeric value encountered in /in/JJfPD on line 3 datetime with offset: 1970-01-01 10:33:36
Output for 5.5.0 - 7.0.20
datetime: 2016-01-07 22:23:25 datetime with offset: 1970-01-01 10:33:36