3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = 'Papa|Mama|Jan&Kaja&Clemens'; print_r(explode(array('|', '&'),$s)); ?>
Output for 5.3.1 - 7.1.0
Warning: explode() expects parameter 1 to be string, array given in /in/KNEoD on line 3
Output for 4.3.0 - 5.3.0
Notice: Array to string conversion in /in/KNEoD on line 3 Array ( [0] => Papa|Mama|Jan&Kaja&Clemens )