3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<table><?= array_map(function($i) {return sprintf('<tr><td>%d</td></tr>', $i);}, range(1,10)); ?></table>
Output for 5.4.0 - 7.1.0
<table> Notice: Array to string conversion in /in/drUY7 on line 1 Array</table>
Output for 4.3.0 - 5.3.29
<table><?= array_map(function($i) {return sprintf('<tr><td>%d</td></tr>', $i);}, range(1,10)); ?></table>