3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all("/(?J)((?<A>a)!|(?<A>a)=(?<type>[si])) ((?<B>b)!|(?<B>b)=(?<type>[si]))/", "a! b=s a=i b!", $m, PREG_SET_ORDER); print_r($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ji18e
function name:  (null)
number of ops:  10
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match_all'
          1        SEND_VAL                                                 '%2F%28%3FJ%29%28%28%3F%3CA%3Ea%29%21%7C%28%3F%3CA%3Ea%29%3D%28%3F%3Ctype%3E%5Bsi%5D%29%29+%28%28%3F%3CB%3Eb%29%21%7C%28%3F%3CB%3Eb%29%3D%28%3F%3Ctype%3E%5Bsi%5D%29%29%2F'
          2        SEND_VAL                                                 'a%21+b%3Ds+a%3Di+b%21'
          3        SEND_REF                                                 !0
          4        SEND_VAL                                                 2
          5        DO_ICALL                                                 
          6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.28 ms | 1394 KiB | 17 Q