3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = time(); $num2 = num + 3600; print_r($num); print_r($num2); ?>
Output for 7.1.0
Notice: Use of undefined constant num - assumed 'num' in /in/FT1Mt on line 3 Warning: A non-numeric value encountered in /in/FT1Mt on line 3 13927552603600
Output for 4.3.0 - 5.6.23, hhvm-3.12.0, 7.0.0 - 7.0.14
Notice: Use of undefined constant num - assumed 'num' in /in/FT1Mt on line 3 13927552603600
Output for hhvm-3.10.0
Notice: Use of undefined constant num - assumed 'num' in /in/FT1Mt on line 3 13927552613600