3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.22 ms | 998 KiB | 14 Q