3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=array("red","green","blue"); echo explode(',',$a); ?>
Output for 5.3.1 - 7.1.0
Warning: explode() expects parameter 2 to be string, array given in /in/ZYnLd on line 3
Output for 4.3.0 - 5.3.0
Notice: Array to string conversion in /in/ZYnLd on line 3 Array