3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = "<p>&nbsp;Lorem ipsum dolor [State] sit amet, consectetur [City] adipisicing [TopJob7] elit, sed do eiusmod [JobType]</p>"; $tagsReplace = preg_split('/(\[[^]]+\])/', $value, -1, PREG_SPLIT_DELIM_CAPTURE); print_r($tagsReplace);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => <p>&nbsp;Lorem ipsum dolor [1] => [State] [2] => sit amet, consectetur [3] => [City] [4] => adipisicing [5] => [TopJob7] [6] => elit, sed do eiusmod [7] => [JobType] [8] => </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:
27.53 ms | 406 KiB | 5 Q