3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pies = 'apple|pecan|blueberry'; list($a, $b, $c) = explode('|', $pies); var_dump($a, $b, $c);
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.0alpha1
string(5) "apple" string(5) "pecan" string(9) "blueberry"