3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('/(\((?>((?!<br>|[()]).)++|(?=\()(?1))*+\))/is', 'this () is a ( test ) right here ((l);;) so yea', $result); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jfICr
function name:  (null)
number of ops:  9
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match_all'
          1        SEND_VAL                                                 '%2F%28%5C%28%28%3F%3E%28%28%3F%21%3Cbr%3E%7C%5B%28%29%5D%29.%29%2B%2B%7C%28%3F%3D%5C%28%29%28%3F1%29%29%2A%2B%5C%29%29%2Fis'
          2        SEND_VAL                                                 'this+%28%29+is+a+%28+test+%29+right+here+%28%28l%29%3B%3B%29+so+yea'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    3     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.41 ms | 1394 KiB | 17 Q