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); foreach($temp as $tok){ }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => [1] => a [2] => [3] => b [4] => c( [5] => a [6] => [7] => b [8] => c),d( [9] => a [10] => b( [11] => a [12] => b)),e )

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.03 ms | 401 KiB | 8 Q