3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function takes_array($input) { $a=$input; echo $a; } takes_array(array(1,2,3,4,5,"rld"));
Output for 5.4.18 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/elDYZ on line 6 Array
Output for 5.4.0 - 5.4.17
Notice: Array to string conversion in /in/TbWCY on line 6 Array
Output for 4.3.0 - 5.3.29
Array