3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $row = array(m); echo " <h2>question</h2> <p>".chr(64 + $row[0])."</p> <h2>answer</h2> <p>".chr(64 + $row[1])."</p>";
based on KS7ji
Output for 7.2.0
Warning: Use of undefined constant m - assumed 'm' (this will throw an Error in a future version of PHP) in /in/YUhud on line 2 Warning: A non-numeric value encountered in /in/YUhud on line 6 Notice: Undefined offset: 1 in /in/YUhud on line 8 <h2>question</h2> <p>@</p> <h2>answer</h2> <p>@</p>
Output for 7.1.0 - 7.1.10
Notice: Use of undefined constant m - assumed 'm' in /in/YUhud on line 2 Warning: A non-numeric value encountered in /in/YUhud on line 6 Notice: Undefined offset: 1 in /in/YUhud on line 8 <h2>question</h2> <p>@</p> <h2>answer</h2> <p>@</p>
Output for 5.3.21 - 7.0.20
Notice: Use of undefined constant m - assumed 'm' in /in/YUhud on line 2 Notice: Undefined offset: 1 in /in/YUhud on line 8 <h2>question</h2> <p>@</p> <h2>answer</h2> <p>@</p>