3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all("/(?P<hello>[a-z]+)([a-z])/usD", "aaaaaa111111bbbbbb22222222ccccc", $matches); var_dump($matches);
Output for rfc.property-hooks, git.master, git.master_jit
array(4) { [0]=> array(3) { [0]=> string(6) "aaaaaa" [1]=> string(6) "bbbbbb" [2]=> string(5) "ccccc" } ["hello"]=> array(3) { [0]=> string(5) "aaaaa" [1]=> string(5) "bbbbb" [2]=> string(4) "cccc" } [1]=> array(3) { [0]=> string(5) "aaaaa" [1]=> string(5) "bbbbb" [2]=> string(4) "cccc" } [2]=> array(3) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" } }

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:
64.34 ms | 2130 KiB | 4 Q