3v4l.org

run code in 300+ PHP versions simultaneously
<?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 );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9VsHW
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'ZOOBLES+ieterpjami%28902486%29+CDX-GT560UI+Blue+%28+CDXGT560UI.EUR+%29+Vaschetta+Baby+SPA%28N109-U25%2FU25%29+Sweet+Dreams+Hooded+Towel+W%2FPW%2FB%28ASC-STAB01-AS-WH%29'
    5     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%23%28%5C%28%5B%5E%29%5D%2A%5C%29%29%5C%29%2A%24%23'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    7     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.32 ms | 1394 KiB | 17 Q