3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ "A12B8Y9CC10", "V5C8I17", "KK18II9", "I8VV22ZZ4S9U2", "A18Z12I" ]; $pattern = '/[A-Z]{2,}\d+(*SKIP)(*FAIL)|[A-Z](\d+)/'; foreach ($strings as $string) { preg_match_all($pattern, $string, $matches); print_r($matches[1]); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 12 [1] => 8 [2] => 9 ) Array ( [0] => 5 [1] => 8 [2] => 17 ) Array ( ) Array ( [0] => 8 [1] => 9 [2] => 2 ) Array ( [0] => 18 [1] => 12 )

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:
149.99 ms | 405 KiB | 5 Q