3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('/([^\s:][^:]*+):([^\s:]++)/', 'id:5557aeee9d50088f57d2 sub:001 dlvrd:001 submit date:1709130935 done date:1709130935 stat:DELIVRD err:000', $m, PREG_SET_ORDER); var_dump($m);
Output for git.master, git.master_jit, rfc.property-hooks
array(7) { [0]=> array(3) { [0]=> string(23) "id:5557aeee9d50088f57d2" [1]=> string(2) "id" [2]=> string(20) "5557aeee9d50088f57d2" } [1]=> array(3) { [0]=> string(7) "sub:001" [1]=> string(3) "sub" [2]=> string(3) "001" } [2]=> array(3) { [0]=> string(9) "dlvrd:001" [1]=> string(5) "dlvrd" [2]=> string(3) "001" } [3]=> array(3) { [0]=> string(22) "submit date:1709130935" [1]=> string(11) "submit date" [2]=> string(10) "1709130935" } [4]=> array(3) { [0]=> string(20) "done date:1709130935" [1]=> string(9) "done date" [2]=> string(10) "1709130935" } [5]=> array(3) { [0]=> string(12) "stat:DELIVRD" [1]=> string(4) "stat" [2]=> string(7) "DELIVRD" } [6]=> array(3) { [0]=> string(7) "err:000" [1]=> string(3) "err" [2]=> string(3) "000" } }

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:
41.55 ms | 403 KiB | 8 Q