3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { private $bar; function remove(){ unset($this->bar); } } $x = new foo; $x->remove(); $x->lol =123; var_dump($x);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OnRDe
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $1      'foo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   14     3        INIT_METHOD_CALL                                         !0, 'remove'
          4        DO_FCALL                                      0          
   16     5        ASSIGN_OBJ                                               !0, 'lol'
          6        OP_DATA                                                  123
   18     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Class foo:
Function remove:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OnRDe
function name:  remove
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   UNSET_OBJ                                                'bar'
    8     1      > RETURN                                                   null

End of function remove

End of class foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.92 ms | 1394 KiB | 15 Q