3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = explode('.',array()); print_r(count($array)); var_dump($array);
Output for 5.3.1 - 7.1.0
Warning: explode() expects parameter 2 to be string, array given in /in/pfFA2 on line 2 0NULL
Output for 4.3.0 - 5.3.0
Notice: Array to string conversion in /in/pfFA2 on line 2 1array(1) { [0]=> string(5) "Array" }