3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('a', 'b', 'c'); $b = array(); foreach($a as $c){ $b[$c] = array($c); } printf($b);
Output for 4.3.0 - 7.2.8
Notice: Array to string conversion in /in/X3ipi on line 9 Array