3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = "1572|906|1573"; list($first, $second, $third) = explode('|', $var); var_dump($first, $second, $third);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(4) "1572" string(3) "906" string(4) "1573"