3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = ('hello world | jaz'); list ($data, $payload) = explode($input, '|');
based on okcFt
Output for 5.3.0 - 5.6.30, 7.0.0 - 7.2.0
Notice: Undefined offset: 1 in /in/uKGNl on line 3
Output for hhvm-3.10.1 - 3.17.3
Notice: Undefined index: 1 in /in/uKGNl on line 3
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 1 in /in/uKGNl on line 3