3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); session_decode('user_agent|s:10:"test|i:5;'); var_dump($_SESSION);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XGILl
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    5     2        INIT_FCALL                                               'session_decode'
          3        SEND_VAL                                                 'user_agent%7Cs%3A10%3A%22test%7Ci%3A5%3B'
          4        DO_ICALL                                                 
    7     5        INIT_FCALL                                               'var_dump'
          6        FETCH_R                      global              ~2      '_SESSION'
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.64 ms | 1394 KiB | 19 Q