3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); $_SESSION = array('a' => 5, 'b' => 'รก', 'c' => 55); var_dump($_SESSION); var_dump(session_encode());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lm4i2
function name:  (null)
number of ops:  14
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                                                   $1, <array>
    4     4        INIT_FCALL                                               'var_dump'
          5        FETCH_R                      global              ~3      '_SESSION'
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'session_encode'
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.83 ms | 1394 KiB | 19 Q