3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = 'aaa,test'; $locations = explode(',', $test); var_dump($locations); var_dump(array_shift($locations));
based on pjKk4