3v4l.org

run code in 200+ 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 - 7.2.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