3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tpa = 'shop_dummy-76--30574986-1cc0-47d3-9108-0f40aa6648e9'; $arr = explode('-', $tpa, 4); var_dump($arr);
Output for 4.3.0 - 7.1.0
array(4) { [0]=> string(10) "shop_dummy" [1]=> string(2) "76" [2]=> string(0) "" [3]=> string(36) "30574986-1cc0-47d3-9108-0f40aa6648e9" }