3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "/gdc/md/ea8h1hfaj4ayiwt823si8dskw4ab6oo6/obj/406"; preg_match('/^/gdc/md/([a-z0-9]+)/obj/([0-9]+)/$', $s, $result); print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WJ5rR
function name:  (null)
number of ops:  10
compiled vars:  !0 = $s, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2Fgdc%2Fmd%2Fea8h1hfaj4ayiwt823si8dskw4ab6oo6%2Fobj%2F406'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%2Fgdc%2Fmd%2F%28%5Ba-z0-9%5D%2B%29%2Fobj%2F%28%5B0-9%5D%2B%29%2F%24'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.11 ms | 1385 KiB | 17 Q