3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'ZOOBLES ieterpjami(902486) CDX-GT560UI Blue ( CDXGT560UI.EUR ) Vaschetta Baby SPA(N109-U25/U25) Sweet Dreams Hooded Towel W/PW/B(ASC-STAB01-AS-WH)'; preg_match_all( '#\(\s*([\-\/\.\dA-Z]+)\s*\)#', $string, $matches ); var_dump( $matches );

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
array(2) { [0]=> array(4) { [0]=> string(8) "(902486)" [1]=> string(18) "( CDXGT560UI.EUR )" [2]=> string(14) "(N109-U25/U25)" [3]=> string(18) "(ASC-STAB01-AS-WH)" } [1]=> array(4) { [0]=> string(6) "902486" [1]=> string(14) "CDXGT560UI.EUR" [2]=> string(12) "N109-U25/U25" [3]=> string(16) "ASC-STAB01-AS-WH" } }
Output for Array change keys
array(2) { [0]=> array(4) { [0]=> string(8) "(902486)" [1]=> string(18) "( CDXGT560UI.EUR )" [2]=> string(14) "(N109-U25/U25)" [3]=> string(18) "(ASC-STAB01-AS-WH)" } [1]=> array(4) { [0]=> string(6) "902486" [1]=> string(14) "CDXGT560UI.EUR" [2]=> string(12) "N109-U25/U25" [3]=> string(16) "ASC-STAB01-AS-WH" } }
Output for Lexical anon
array(2) { [0]=> array(4) { [0]=> string(8) "(902486)" [1]=> string(18) "( CDXGT560UI.EUR )" [2]=> string(14) "(N109-U25/U25)" [3]=> string(18) "(ASC-STAB01-AS-WH)" } [1]=> array(4) { [0]=> string(6) "902486" [1]=> string(14) "CDXGT560UI.EUR" [2]=> string(12) "N109-U25/U25" [3]=> string(16) "ASC-STAB01-AS-WH" } }

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