3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = 'asdf'; preg_match('/.(?<secondAndThird>(?<second>.)(.))(?<fourth>.)/n', $string, $m); var_export($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qBX2Z
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $m
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'asdf'
    4     1        INIT_FCALL                                                   'preg_match'
          2        SEND_VAL                                                     '%2F.%28%3F%3CsecondAndThird%3E%28%3F%3Csecond%3E.%29%28.%29%29%28%3F%3Cfourth%3E.%29%2Fn'
          3        SEND_VAR                                                     !0
          4        SEND_REF                                                     !1
          5        DO_ICALL                                                     
    5     6        INIT_FCALL                                                   'var_export'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.75 ms | 1627 KiB | 14 Q