3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $prenoms = array ('Kulka', 'Reksio', 'Popek', 'Psotka'); for ($numero = 0; $numero < 5; $numero++) { echo $prenoms[$numero] . '<br />'; } ?>
Output for 5.5.0 - 7.1.7
Kulka<br />Reksio<br />Popek<br />Psotka<br /> Notice: Undefined offset: 4 in /in/rIAbp on line 4 <br />
Output for 4.3.0 - 5.4.45
Kulka<br />Reksio<br />Popek<br />Psotka<br /><br />