3v4l.org

run code in 500+ PHP versions simultaneously
<?php $options = []; $menu_parent = NULL; if (strpos($menu_parent, ':') !== FALSE && !isset($options[$menu_parent])) { // The requested menu parent cannot be found in the menu anymore. Try // setting it to the top level in the current menu. list($menu_name, $parent) = explode(':', $menu_parent, 2); $menu_parent = $menu_name . ':'; } var_dump($menu_parent);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 21
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
Branch analysis from position: 8
filename:       /in/MRPHq
function name:  (null)
number of ops:  25
compiled vars:  !0 = $options, !1 = $menu_parent, !2 = $menu_name, !3 = $parent
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN                                                       !1, null
    6     2        FRAMELESS_ICALL_2                strpos              ~6      !1, '%3A'
          3        TYPE_CHECK                                      1018  ~7      ~6
          4      > JMPZ_EX                                              ~7      ~7, ->8
          5    >   ISSET_ISEMPTY_DIM_OBJ                             0  ~8      !0, !1
          6        BOOL_NOT                                             ~9      ~8
          7        BOOL                                                 ~7      ~9
          8    > > JMPZ                                                         ~7, ->21
    9     9    >   INIT_FCALL                                                   'explode'
         10        SEND_VAL                                                     '%3A'
         11        SEND_VAR                                                     !1
         12        SEND_VAL                                                     2
         13        DO_ICALL                                             $10     
         14        FETCH_LIST_R                                         $11     $10, 0
         15        ASSIGN                                                       !2, $11
         16        FETCH_LIST_R                                         $13     $10, 1
         17        ASSIGN                                                       !3, $13
         18        FREE                                                         $10
   10    19        CONCAT                                               ~15     !2, '%3A'
         20        ASSIGN                                                       !1, ~15
   13    21    >   INIT_FCALL                                                   'var_dump'
         22        SEND_VAR                                                     !1
         23        DO_ICALL                                                     
         24      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
235.11 ms | 2089 KiB | 15 Q