3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "It's just me, myself, i and an empty glass of wine. Age = 21"; $split = preg_split('/(,)\s|\s/', $string, -1, PREG_SPLIT_DELIM_CAPTURE); print_r($split);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => It's [1] => just [2] => me [3] => , [4] => myself [5] => , [6] => i [7] => and [8] => an [9] => empty [10] => glass [11] => of [12] => wine. [13] => Age [14] => = [15] => 21 )

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:
96.66 ms | 406 KiB | 5 Q