3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "(联想 OR 戴尔 OR 苹果 OR 宏基) dangers:deep1条 dangers:(newuuid deep1条 FirstTimeImageRule) 价格_i:[1500 TO 2500] cityEnglishName:beijing categoryEnglishName:bijiben"; preg_match_all('/(([a-zA-Z]+)\:\(([^\)]+)\))/', $str, $m); var_dump($m);
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> array(1) { [0]=> string(45) "dangers:(newuuid deep1条 FirstTimeImageRule)" } [1]=> array(1) { [0]=> string(45) "dangers:(newuuid deep1条 FirstTimeImageRule)" } [2]=> array(1) { [0]=> string(7) "dangers" } [3]=> array(1) { [0]=> string(35) "newuuid deep1条 FirstTimeImageRule" } }

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:
41.12 ms | 402 KiB | 8 Q