3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = null; public static $blee = 'blee'; private $baz = null; } $foo = new Foo; echo Foo::$blee,"\n"; unset($foo->bar); var_dump($foo,$GLOBALS); //unset(Foo::$blee);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QoELU
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'Foo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        FETCH_STATIC_PROP_R          global lock         ~4      'blee'
          4        ECHO                                                     ~4
          5        ECHO                                                     '%0A'
   11     6        UNSET_OBJ                                                !0, 'bar'
   12     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        FETCH_R                      global              ~5      'GLOBALS'
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                                 
   13    12      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.01 ms | 1394 KiB | 15 Q