3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all("/(?J)((?<A>a)!|(?<A>a)=(?<type>[si])) ((?<B>b)!|(?<B>b)=(?<type>[si]))/", "a! b=s a=i b!", $m, PREG_SET_ORDER); print_r($m);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => a! b=s [1] => a! [A] => a [2] => a [3] => [type] => s [4] => [5] => b=s [B] => b [6] => [7] => b [8] => s ) [1] => Array ( [0] => a=i b! [1] => a=i [A] => a [2] => [3] => a [type] => i [4] => i [5] => b! [B] => b [6] => b ) )

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:
39.77 ms | 402 KiB | 8 Q