3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = time(); $num2 = $num + 3600; print_r($num); PHP_EOL; print_r($num2); ?>
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
13927553251392758925
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
1392755325 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aZLp5 on line 5 1392758925