3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $row = array(1, 2, 3, 4); echo " <h2>question</h2> <p>".chr(64 + $row[0])."</p> <h2>answer</h2> <p>".chr(64 + $row[1])."</p>"; <?php if(!isset($_GET["top"]) or $_GET["top"]<1or $_GET["top"]>26):?> <?php echo .chr(64 +( $_GET["top"])); ?>:
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '<' in /in/LeOCg on line 10
Process exited with code 255.