3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = '20140522_163950'; echo $d; echo "\n"; echo date();
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
20140522_163950 Warning: date() expects at least 1 parameter, 0 given in /in/Gj1uF on line 6
Output for 4.3.0 - 5.0.5
20140522_163950 Warning: Wrong parameter count for date() in /in/Gj1uF on line 6