3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = '||||||'; $a = explode('|',$s); echo '<pre>'.print_r($a,true).'</pre>'; ?>
based on OEMb3
Output for 4.3.0 - 7.1.10
<pre>Array ( [0] => [1] => [2] => [3] => [4] => [5] => [6] => ) </pre>