3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = array(1,2,3,4,5,6,7,8); echo explode(',', $foo);
Output for 5.3.1 - 7.1.0
Warning: explode() expects parameter 2 to be string, array given in /in/jhk00 on line 5
Output for 4.3.0 - 5.3.0
Notice: Array to string conversion in /in/jhk00 on line 5 Array