3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Home { private $foo; public function __construct(){ $this->foo = "bar"; } } $class = "home"; var_dump(get_class($home));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ki1O3
function name:  (null)
number of ops:  6
compiled vars:  !0 = $class, !1 = $home
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, 'home'
   12     1        INIT_FCALL                                               'var_dump'
          2        GET_CLASS                                        ~3      !1
          3        SEND_VAL                                                 ~3
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

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

End of function __construct

End of class Home.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.08 ms | 1394 KiB | 15 Q