3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = time(); sleep(1); $var2 = time(); echo $var2 - $var1;
based on kLCKY
Output for 5.0.4 - 5.6.38, hhvm-3.10.1 - 3.11.1, hhvm-3.13.2 - 3.18.5, hhvm-3.20.2 - 3.21.3, 7.0.0 - 7.2.12
Notice: Undefined variable: var1 in /in/5l6ZY on line 5 1430912059
Output for hhvm-3.22.0
Notice: Undefined variable: var1 in /in/5l6ZY on line -1 1430912059
Output for hhvm-3.12.14, hhvm-3.19.2
Notice: Undefined variable: var1 in /in/5l6ZY on line 5 1430912060
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: var1 in /in/5l6ZY on line 5 1430912059