3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<<CONTENT @tag CONTENT; $matches = array(); var_dump(preg_match('/\n\w*@/', $content, $matches, null, 1) === 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6H4LD
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, '%0A%40tag'
    7     1        ASSIGN                                                   !1, <array>
    8     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%2F%5Cn%5Cw%2A%40%2F'
          5        SEND_VAR                                                 !0
          6        SEND_REF                                                 !1
          7        SEND_VAL                                                 null
          8        SEND_VAL                                                 1
          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:
148.88 ms | 1385 KiB | 17 Q