3v4l.org

run code in 150+ 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
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 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.0.14
<h2>question</h2> <p>@</p> <h2>answer</h2> <p>B</p>