3v4l.org

run code in 300+ PHP versions simultaneously
<?php $itemPath = "/14/items/adventuresalices00carrrich"; preg_match("|^/\d+/items/{$id}$|", $itemPath); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ROfRS
function name:  (null)
number of ops:  9
compiled vars:  !0 = $itemPath, !1 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F14%2Fitems%2Fadventuresalices00carrrich'
    3     1        INIT_FCALL                                               'preg_match'
          2        ROPE_INIT                                     3  ~4      '%7C%5E%2F%5Cd%2B%2Fitems%2F'
          3        ROPE_ADD                                      1  ~4      ~4, !1
          4        ROPE_END                                      2  ~3      ~4, '%24%7C'
          5        SEND_VAL                                                 ~3
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    4     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.63 ms | 1394 KiB | 15 Q