3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fruits=array("Apple","Mango","Banana"); for($x=0;$x<$arrlength;$x++){ Echo $fruits[$x]; Echo "<br>";} ?>
based on 02MsY
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: arrlength in /in/o6cqA on line 4
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: arrlength in /in/o6cqA on line 4