3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/([a-z0-9$])\1+|(?:([a-z0-9$])(?!\2))+/m'; $str = '$$$ 12345 aaa bbb ccc ddd eee 678 $$$ aaabbbbccc aaa-bbb-ddd aab aaaaaabbbbbbbbbbbbbc a000000009999999888888 abc000000009999999888888abd f 123fff dddk3ff333fk333'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); foreach ($matches as $match) { echo "$match[0]\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
$$$ 12345 aaa bbb ccc ddd eee 678 $$$ aaa bbbb ccc aaa bbb ddd aa b aaaaaa bbbbbbbbbbbbb c a 00000000 9999999 888888 abc 00000000 9999999 888888 abd f 123 fff ddd k3 ff 333 fk 333

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:
44.27 ms | 1478 KiB | 4 Q