3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time = date('h'); $day = date('d'); $month= date('m'); $year = date('y'); echo $time+" "+$day+" "+$month+" "+$year;
based on hsO1Q
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/Kj8Tm on line 7 Warning: A non-numeric value encountered in /in/Kj8Tm on line 7 Warning: A non-numeric value encountered in /in/Kj8Tm on line 7 54
Output for 5.5.0 - 7.0.20
54