3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (int)$x." "; $startValue = 100; $x = (int)($startValue * 2); $x = (int)($x / 3); $x = (int)($x / 2); $x = (int)($x * 3); echo (int)$x."\n";
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Notice: Undefined variable: x in /in/k1tlf on line 4 0 99
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: x in /in/k1tlf on line 4 0 99