3v4l.org

run code in 300+ PHP versions simultaneously
<?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.3.28, 5.4.0 - 5.4.26
Parse error: syntax error, unexpected '<' in /in/LeOCg on line 10
Process exited with code 255.

preferences:
174.62 ms | 1395 KiB | 63 Q