3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $row = array(1, 2, 3, 4,5,6,7,8,9); echo " <h2>question</h2> <p>".chr(64 + $row[0])."</p> <h2>answer</h2> <p>".chr(64 + $row[1])."</p>"; "<p>".chr(64 + $row[9])."</p>";
based on gfIHD
Output for 5.3.0 - 7.2.0
<h2>question</h2> <p>A</p> <h2>answer</h2> <p>B</p> Notice: Undefined offset: 9 in /in/R4JNN on line 9
Output for 4.3.0 - 5.2.17
<h2>question</h2> <p>A</p> <h2>answer</h2> <p>B</p> Notice: Undefined offset: 9 in /in/R4JNN on line 9