3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); $_SESSION['acc'] = ['foo' => 'bar']; $_SESSION['foo'] = 'baz'; var_dump($_SESSION['acc']['foo']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/25OM0
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    5     2        FETCH_W                      global              $1      '_SESSION'
          3        ASSIGN_DIM                                               $1, 'acc'
          4        OP_DATA                                                  <array>
    7     5        FETCH_W                      global              $3      '_SESSION'
          6        ASSIGN_DIM                                               $3, 'foo'
          7        OP_DATA                                                  'baz'
    9     8        INIT_FCALL                                               'var_dump'
          9        FETCH_R                      global              ~5      '_SESSION'
         10        FETCH_DIM_R                                      ~6      ~5, 'acc'
         11        FETCH_DIM_R                                      ~7      ~6, 'foo'
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.93 ms | 1385 KiB | 17 Q