3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pizzaToppings = array('onion', 'tomato', 'cheese', 'anchovies', 'ham', 'pepperoni'); for($i=0;$i<=sizeof($pizzaToppings);$i++){ echo $pizzaToppings[$i]; } ?>
based on pdR8B
Output for 5.3.0 - 7.1.0
oniontomatocheeseanchovieshampepperoni Notice: Undefined offset: 6 in /in/mURG9 on line 4
Output for 4.3.0 - 5.2.17
oniontomatocheeseanchovieshampepperoni Notice: Undefined offset: 6 in /in/mURG9 on line 4