3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $row = array('gy', 2, 3, 4); echo " <h2>question</h2> <p>".chr(64 + $row[0])."</p> <h2>answer</h2> <p>".chr(64 + $row[1])."</p>";
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/rmqXD on line 6 <h2>question</h2> <p>@</p> <h2>answer</h2> <p>B</p>
Output for 4.3.0 - 7.0.20
<h2>question</h2> <p>@</p> <h2>answer</h2> <p>B</p>