3v4l.org

run code in 150+ 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 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0RC5
Array ( [0] => element1 [1] => element2 [2] => element3 )