3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (ini_get('session.auto_start')) { session_destroy(); } ini_set('session.serialize_handler', 'php_serialize'); session_start(); $_SESSION['ryat'] = '|O:8:"stdClass":0:{}'; var_dump($_SESSION);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/ZHFtO
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_get'
          1        SEND_VAL                                                 'session.auto_start'
          2        DO_ICALL                                         $0      
          3      > JMPZ                                                     $0, ->6
    3     4    >   INIT_FCALL                                               'session_destroy'
          5        DO_ICALL                                                 
    6     6    >   INIT_FCALL                                               'ini_set'
          7        SEND_VAL                                                 'session.serialize_handler'
          8        SEND_VAL                                                 'php_serialize'
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'session_start'
         11        DO_ICALL                                                 
    9    12        FETCH_W                      global              $4      '_SESSION'
         13        ASSIGN_DIM                                               $4, 'ryat'
         14        OP_DATA                                                  '%7CO%3A8%3A%22stdClass%22%3A0%3A%7B%7D'
   10    15        INIT_FCALL                                               'var_dump'
         16        FETCH_R                      global              ~6      '_SESSION'
         17        SEND_VAL                                                 ~6
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.83 ms | 1395 KiB | 23 Q