3v4l.org

run code in 500+ PHP versions simultaneously
<?php preg_match("/^(aaa)(?:(x)?)/", "aaay", $matches, PREG_UNMATCHED_AS_NULL); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1ulVZ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'preg_match'
          1        SEND_VAL                                                     '%2F%5E%28aaa%29%28%3F%3A%28x%29%3F%29%2F'
          2        SEND_VAL                                                     'aaay'
          3        SEND_REF                                                     !0
          4        SEND_VAL                                                     512
          5        DO_ICALL                                                     
    5     6        INIT_FCALL                                                   'var_dump'
          7        SEND_VAR                                                     !0
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.54 ms | 2065 KiB | 15 Q