3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $format = "Y/m/d H:i:s"; echo strtotime('now'); echo "\n\r"; echo time(); echo "\n\r"; echo date($format, time()); echo "\n\r"; echo strtotime('2014/09/26 23:59:59');
based on Stekt
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.1.0
1408688004 1408688004 2014/08/22 08:13:24 1411768799
Output for 5.0.0 - 5.0.2
1408658400 1408688004 2014/08/22 08:13:24 1411768799