3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export( preg_match( '/(?<0>[a-z]+) (?<1>\d+)/in', 'Foo 411', $m ) ? $m : [] );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/97lST
function name:  (null)
number of ops:  13
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_export'
    4     1        INIT_FCALL                                               'preg_match'
    5     2        SEND_VAL                                                 '%2F%28%3F%3C0%3E%5Ba-z%5D%2B%29+%28%3F%3C1%3E%5Cd%2B%29%2Fin'
    6     3        SEND_VAL                                                 'Foo+411'
    7     4        SEND_REF                                                 !0
          5        DO_ICALL                                         $1      
          6      > JMPZ                                                     $1, ->9
    9     7    >   QM_ASSIGN                                        ~2      !0
          8      > JMP                                                      ->10
   10     9    >   QM_ASSIGN                                        ~2      <array>
         10    >   SEND_VAL                                                 ~2
         11        DO_ICALL                                                 
   11    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.87 ms | 1394 KiB | 17 Q