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]+)\s*\:\s*\(([^\)]+)\))?/', $str, $m); var_dump($m['key'], $m['lval']);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "key" in /in/PhMiM on line 5 Warning: Undefined array key "lval" in /in/PhMiM on line 5 NULL NULL

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:
48.26 ms | 401 KiB | 8 Q