3v4l.org

run code in 150+ 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 - 5.6.21, 7.0.0 - 7.1.0
Kulka<br />Reksio<br />Popek<br />Psotka<br /> Notice: Undefined offset: 4 in /in/rIAbp on line 4 <br />
Output for hhvm-3.10.0 - 3.12.0
Kulka<br />Reksio<br />Popek<br />Psotka<br /> Notice: Undefined index: 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 />