3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "D1F21aILKJ989++J0lkh908-88#022l2l1mnbb2324"; preg_match_all('/\pL|\d+/', $string, $result); $result=$result[0]; print_r($result);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => D [1] => 1 [2] => F [3] => 21 [4] => a [5] => I [6] => L [7] => K [8] => J [9] => 989 [10] => J [11] => 0 [12] => l [13] => k [14] => h [15] => 908 [16] => 88 [17] => 022 [18] => l [19] => 2 [20] => l [21] => 1 [22] => m [23] => n [24] => b [25] => b [26] => 2324 )

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