3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo floor($time()/60/60/24)%5; ?>
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: time in /in/HCiU6 on line 2 Fatal error: Uncaught Error: Function name must be a string in /in/HCiU6:2 Stack trace: #0 {main} thrown in /in/HCiU6 on line 2
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Notice: Undefined variable: time in /in/HCiU6 on line 2 Fatal error: Function name must be a string in /in/HCiU6 on line 2
Process exited with code 255.