3v4l.org

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

Class HoMe:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gjAI2
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.

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

End of function __construct

End of class home.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.27 ms | 1395 KiB | 15 Q