3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = <<<'REGEX' / _ (a) (*MARK:A_MARK) _ | _ (b) _ | _ (c) (*MARK:C_MARK) _ | _ (d) _ /x REGEX; var_dump(preg_match('/a(*MARK:A)b/', 'ab', $matches)); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sR44g
function name:  (null)
number of ops:  13
compiled vars:  !0 = $regex, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%0A++++_+%28a%29+%28%2AMARK%3AA_MARK%29+_%0A++%7C+_+%28b%29+_%0A++%7C+_+%28c%29+%28%2AMARK%3AC_MARK%29+_%0A++%7C+_+%28d%29+_%0A%2Fx'
   11     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2Fa%28%2AMARK%3AA%29b%2F'
          4        SEND_VAL                                                 'ab'
          5        SEND_REF                                                 !1
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                                 
   12     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.3 ms | 1394 KiB | 17 Q