3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'test'; 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/t4T6X
function name:  (null)
number of ops:  13
compiled vars:  !0 = $test, !1 = $foo, !2 = $_GLOBALS
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'test'
    9     1        NEW                                              $4      'Foo'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $4
   10     4        FETCH_STATIC_PROP_R          global lock         ~7      'blee'
          5        ECHO                                                     ~7
          6        ECHO                                                     '%0A'
   11     7        UNSET_OBJ                                                !1, 'bar'
   12     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
   13    12      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.32 ms | 1394 KiB | 15 Q