3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.87 ms | 1398 KiB | 15 Q