3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.81 ms | 1394 KiB | 17 Q