3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('@^/([^/]+)/([^/]+)/([^/?]+)@', '/git/mat-omg/master?hash=fion', $match); preg_match('@^/([^/]+)/([^?]+)@', '/svn/modules/core/branches/5.6.2/', $match); //preg_match('@^/([^/]+)/([^?]+)@', '/git/mat-omg/master?hash=fion', $match); //$match = explode('/', $match[2]); var_dump($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5unEa
function name:  (null)
number of ops:  14
compiled vars:  !0 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%40%5E%2F%28%5B%5E%2F%5D%2B%29%2F%28%5B%5E%2F%5D%2B%29%2F%28%5B%5E%2F%3F%5D%2B%29%40'
          2        SEND_VAL                                                 '%2Fgit%2Fmat-omg%2Fmaster%3Fhash%3Dfion'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'preg_match'
          6        SEND_VAL                                                 '%40%5E%2F%28%5B%5E%2F%5D%2B%29%2F%28%5B%5E%3F%5D%2B%29%40'
          7        SEND_VAL                                                 '%2Fsvn%2Fmodules%2Fcore%2Fbranches%2F5.6.2%2F'
          8        SEND_REF                                                 !0
          9        DO_ICALL                                                 
    9    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.31 ms | 1394 KiB | 17 Q