3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(2) "30" [3]=> string(2) "55" }
Output for hhvm-3.10.0

Process exited with code 153.