3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 22
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/8imLT
function name:  (null)
number of ops:  24
compiled vars:  !0 = $array, !1 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ASSIGN                                                   !1, 'products%2F%7B%3Acid%7D%2F%7B%3Aslug%7D'
   11     2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '%7B%3Acid%7D'
          4        FETCH_DIM_R                                      ~4      !0, 'cid'
          5        SEND_VAL                                                 ~4
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
   12     9        INIT_FCALL                                               'str_replace'
         10        SEND_VAL                                                 '%7B%3Aslug%7D'
         11        FETCH_DIM_R                                      ~7      !0, 'slug'
         12        SEND_VAL                                                 ~7
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $8      
         15        ASSIGN                                                   !1, $8
   13    16        ISSET_ISEMPTY_DIM_OBJ                         1  ~10     !0, 'page_id'
         17        BOOL_NOT                                         ~11     ~10
         18      > JMPZ                                                     ~11, ->22
         19    >   FETCH_DIM_R                                      ~12     !0, 'page_id'
         20        CONCAT                                           ~13     '%3Fpage_id%3D', ~12
         21        ASSIGN_OP                                     8          !1, ~13
   15    22    >   ECHO                                                     !1
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
245.49 ms | 967 KiB | 14 Q