3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match("/^\$((([\w\.-]+):)?((\w+):))?(\w+)$/",$matches); print_r($matches); echo "\n"; preg_match("/(\w*)/",$matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rust3
function name:  (null)
number of ops:  16
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5E%24%28%28%28%5B%5Cw%5C.-%5D%2B%29%3A%29%3F%28%28%5Cw%2B%29%3A%29%29%3F%28%5Cw%2B%29%24%2F'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'print_r'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        ECHO                                                     '%0A'
    5     8        INIT_FCALL                                               'preg_match'
          9        SEND_VAL                                                 '%2F%28%5Cw%2A%29%2F'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    6    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.17 ms | 1394 KiB | 17 Q