3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string="element1§element2§element3"; $array=explode("§",$string); //tried also &#167 and §,double and single quotes print_r($array);
Output for 4.3.0 - 7.1.10
Array ( [0] => element1 [1] => element2 [2] => element3 )