3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'a,b,c(a,b,c),d(a,b(a,b)),e'; $temp = preg_split('/(\w)/', $str, -1, PREG_SPLIT_DELIM_CAPTURE); print_r($temp);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => [1] => a [2] => , [3] => b [4] => , [5] => c [6] => ( [7] => a [8] => , [9] => b [10] => , [11] => c [12] => ), [13] => d [14] => ( [15] => a [16] => , [17] => b [18] => ( [19] => a [20] => , [21] => b [22] => )), [23] => e [24] => )

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:
53.29 ms | 401 KiB | 8 Q