3v4l.org

run code in 150+ 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 ); preg_match_all( '#(\([^)]*\))\)*$#', $string, $matches ); var_dump( $matches );
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(2) { [0]=> array(1) { [0]=> string(18) "(ASC-STAB01-AS-WH)" } [1]=> array(1) { [0]=> string(18) "(ASC-STAB01-AS-WH)" } }
Output for hhvm-3.10.0

Process exited with code 153.