3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = '|23&65|567&89.7|90&65.35'; $ar = explode("|", $string); echo(var_dump($ar));
Output for 4.3.0 - 7.1.0
array(4) { [0]=> string(0) "" [1]=> string(5) "23&65" [2]=> string(8) "567&89.7" [3]=> string(8) "90&65.35" }