3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: text/plain'); ob_start(); session_start(); $_SESSION = [ 'colour' => 'blue', 'shape' => 'round', 'size' => 'medium', //'Admin_CH_1_' & '101_' => 'Gone', chr(0x01) . chr(0x20) . chr(0x21) . chr(0x49) => 'Gone', ]; var_dump($_SESSION); session_write_close(); session_start(); var_dump($_SESSION); ob_end_flush();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lJXoP
function name:  (null)
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+text%2Fplain'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'ob_start'
          4        DO_ICALL                                                 
    5     5        INIT_FCALL                                               'session_start'
          6        DO_ICALL                                                 
    8     7        INIT_ARRAY                                       ~4      'blue', 'colour'
    9     8        ADD_ARRAY_ELEMENT                                ~4      'round', 'shape'
   10     9        ADD_ARRAY_ELEMENT                                ~4      'medium', 'size'
   12    10        ADD_ARRAY_ELEMENT                                ~4      'Gone', '%01+%21I'
    7    11        FETCH_W                      global              $3      '_SESSION'
         12        ASSIGN                                                   $3, ~4
   14    13        INIT_FCALL                                               'var_dump'
         14        FETCH_R                      global              ~6      '_SESSION'
         15        SEND_VAL                                                 ~6
         16        DO_ICALL                                                 
   15    17        INIT_FCALL                                               'session_write_close'
         18        DO_ICALL                                                 
   17    19        INIT_FCALL                                               'session_start'
         20        DO_ICALL                                                 
   18    21        INIT_FCALL                                               'var_dump'
         22        FETCH_R                      global              ~10     '_SESSION'
         23        SEND_VAL                                                 ~10
         24        DO_ICALL                                                 
   19    25        INIT_FCALL                                               'ob_end_flush'
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.82 ms | 958 KiB | 19 Q