3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION['cart'] = array($unique => array('foo')); print_r($_SESSION);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1cdrk
function name:  (null)
number of ops:  9
compiled vars:  !0 = $unique
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_ARRAY                                       ~3      <array>, !0
          1        FETCH_W                      global              $1      '_SESSION'
          2        ASSIGN_DIM                                               $1, 'cart'
          3        OP_DATA                                                  ~3
    3     4        INIT_FCALL                                               'print_r'
          5        FETCH_R                      global              ~4      '_SESSION'
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.6 ms | 1394 KiB | 15 Q