3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo time(); echo date(); echo strtotime();
Output for 5.2.1 - 7.2.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