3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('01:00:00'); echo PHP_EOF; $current_time = date("G:i"); // Makes current time of day computer-readable echo strtotime($current_time);
based on sVakg
Output for 7.2.0
1445990400 Warning: Use of undefined constant PHP_EOF - assumed 'PHP_EOF' (this will throw an Error in a future version of PHP) in /in/BZtWW on line 3 PHP_EOF1446048660
Output for 5.4.0 - 7.1.10
1445990400 Notice: Use of undefined constant PHP_EOF - assumed 'PHP_EOF' in /in/BZtWW on line 3 PHP_EOF1446048660