3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "php test - [2013.1 - some string variable]"; list($wanted,$junk) = explode(" - ",$str); echo $wanted."!!";
Output for 4.3.0 - 7.2.0
php test!!