3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = ('hello world | jaz'); $data = explode('|', $input); var_dump($data);
based on 0HChW
Output for 4.3.0 - 7.1.0
array(2) { [0]=> string(12) "hello world " [1]=> string(4) " jaz" }