3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ranges = explode(',', '221-231,232-242,243-253,254-264,265-275,276-286,287-297,298-308,309-319,320-330,331-341,342-352'); print_r($ranges);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => 221-231 [1] => 232-242 [2] => 243-253 [3] => 254-264 [4] => 265-275 [5] => 276-286 [6] => 287-297 [7] => 298-308 [8] => 309-319 [9] => 320-330 [10] => 331-341 [11] => 342-352 )