3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = '[TEXT...ids="1,2,30,55"]'; var_dump(explode(',', substr($s, strpos($s, '"') + 1, -2)));
Output for 4.3.0 - 7.1.7
array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(2) "30" [3]=> string(2) "55" }