3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "My <b>table</b> in brown <br> Help"; $char = preg_split('#(</?[a-z]+>|[a-z ])#ui', $str, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); print_r($char);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => M [1] => y [2] => [3] => <b> [4] => t [5] => a [6] => b [7] => l [8] => e [9] => </b> [10] => [11] => i [12] => n [13] => [14] => b [15] => r [16] => o [17] => w [18] => n [19] => [20] => <br> [21] => [22] => H [23] => e [24] => l [25] => p )

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