3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo time(); echo date(); echo strtotime();
Output for 5.2.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1370941789 Warning: date() expects at least 1 parameter, 0 given in /in/HYXM1 on line 4 Warning: strtotime() expects at least 1 parameter, 0 given in /in/HYXM1 on line 5
Output for 5.1.0 - 5.2.0
1370941789 Warning: date() expects at least 1 parameter, 0 given in /in/HYXM1 on line 4
Output for 4.3.0 - 5.0.5
1370941789 Warning: Wrong parameter count for date() in /in/HYXM1 on line 4 Warning: Wrong parameter count for strtotime() in /in/HYXM1 on line 5