3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "items=5-9"; $a2 = explode("=",$a); $b = explode("-",$a2[1]); var_dump($b);
based on 7qNKJ
Output for 4.3.0 - 7.1.0
array(2) { [0]=> string(1) "5" [1]=> string(1) "9" }