3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_id = explode(',', '(001),(002),(003)'); foreach ($user_id as $vv) { $user_idd = substr($vv, 1, -1); array_push($user_id, $user_idd); } var_dump($user_id); ?>
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { [0]=> string(5) "(001)" [1]=> string(5) "(002)" [2]=> string(5) "(003)" [3]=> string(3) "001" [4]=> string(3) "002" [5]=> string(3) "003" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
43.61 ms | 401 KiB | 8 Q