3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<<CONTENT @tag CONTENT; $matches = array(); var_dump(preg_match('/^\A\w*@/', $content, $matches, null, 0) === 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YkpKF
function name:  (null)
number of ops:  14
compiled vars:  !0 = $content, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%40tag'
    6     1        ASSIGN                                                   !1, <array>
    7     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%2F%5E%5CA%5Cw%2A%40%2F'
          5        SEND_VAR                                                 !0
          6        SEND_REF                                                 !1
          7        SEND_VAL                                                 null
          8        SEND_VAL                                                 0
          9        DO_ICALL                                         $4      
         10        IS_IDENTICAL                                     ~5      $4, 1
         11        SEND_VAL                                                 ~5
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.09 ms | 1394 KiB | 17 Q