3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); class Test { public $t1 = 'test1'; } $o = new Test; echo $o->t1; var_dump($o,$_SESSION);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Jge9C
function name:  (null)
number of ops:  13
compiled vars:  !0 = $o
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    6     2        NEW                                              $2      'Test'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $2
    7     5        FETCH_OBJ_R                                      ~5      !0, 't1'
          6        ECHO                                                     ~5
    8     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        FETCH_R                      global              ~6      '_SESSION'
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.29 ms | 939 KiB | 18 Q