3v4l.org

run code in 500+ PHP versions simultaneously
<?php $options = []; $menu_parent = NULL; if (!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 = 43) Position 1 = 5, Position 2 = 17
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/Cb3UV
function name:  (null)
number of ops:  21
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        ISSET_ISEMPTY_DIM_OBJ                             0  ~6      !0, !1
          3        BOOL_NOT                                             ~7      ~6
          4      > JMPZ                                                         ~7, ->17
    9     5    >   INIT_FCALL                                                   'explode'
          6        SEND_VAL                                                     '%3A'
          7        SEND_VAR                                                     !1
          8        SEND_VAL                                                     2
          9        DO_ICALL                                             $8      
         10        FETCH_LIST_R                                         $9      $8, 0
         11        ASSIGN                                                       !2, $9
         12        FETCH_LIST_R                                         $11     $8, 1
         13        ASSIGN                                                       !3, $11
         14        FREE                                                         $8
   10    15        CONCAT                                               ~13     !2, '%3A'
         16        ASSIGN                                                       !1, ~13
   13    17    >   INIT_FCALL                                                   'var_dump'
         18        SEND_VAR                                                     !1
         19        DO_ICALL                                                     
         20      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
172.35 ms | 2169 KiB | 15 Q