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]."<br\>"; } ?>
based on htU9a
Output for 5.3.0 - 7.1.0
onion<br\>tomato<br\>cheese<br\>anchovies<br\>ham<br\>pepperoni<br\> Notice: Undefined offset: 6 in /in/KluIl on line 4 <br\>
Output for 4.3.0 - 5.2.17
onion<br\>tomato<br\>cheese<br\>anchovies<br\>ham<br\>pepperoni<br\> Notice: Undefined offset: 6 in /in/KluIl on line 4 <br\>