3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paths = explode('.', 'one.two.tree'); foreach ($paths as $path) { $config = &$config[$path]; } var_dump($config);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/gcP4h
function name:  (null)
number of ops:  15
compiled vars:  !0 = $paths, !1 = $path, !2 = $config
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '.'
          2        SEND_VAL                                                 'one.two.tree'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5      > FE_RESET_R                                       $5      !0, ->10
          6    > > FE_FETCH_R                                               $5, !1, ->10
    5     7    >   FETCH_DIM_W                                      $6      !2, !1
          8        ASSIGN_REF                                               !2, $6
    4     9      > JMP                                                      ->6
         10    >   FE_FREE                                                  $5
    8    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.34 ms | 1394 KiB | 17 Q