3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d = '20140522_163950'; echo $d; echo "\n"; echo date();
Output for 5.1.0 - 7.1.10
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