3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a= <<<EOT /** * @table(market_data) @something * Class MarketData */ EOT; preg_match_all('/(@[\w\(\)]+)/', $a, $matches); if($matches[1] == false) echo "shit"; var_dump($matches[0]);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/B1uRv
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2F%2A%2A%0A+%2A+%40table%28market_data%29%0A%40something%0A+%2A+Class+MarketData%0A+%2A%2F'
   11     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%28%40%5B%5Cw%5C%28%5C%29%5D%2B%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   13     6        FETCH_DIM_R                                      ~4      !1, 1
          7        BOOL_NOT                                         ~5      ~4
          8      > JMPZ                                                     ~5, ->10
   14     9    >   ECHO                                                     'shit'
   15    10    >   INIT_FCALL                                               'var_dump'
         11        FETCH_DIM_R                                      ~6      !1, 0
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.33 ms | 1394 KiB | 17 Q