3v4l.org

run code in 300+ PHP versions simultaneously
<?php class IBreakThings { private $mine; public function __set(string $property, $value) : void { $this->$property = $value; } } class IExtendBrokenThings extends IBreakThings { private $actuallyMine; } $instance = new IExtendBrokenThings(); $instance->mine = 'yep'; $instance->actuallyMine = 'ha!';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Y7cq
function name:  (null)
number of ops:  8
compiled vars:  !0 = $instance
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   NEW                                              $1      'IExtendBrokenThings'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   19     3        ASSIGN_OBJ                                               !0, 'mine'
          4        OP_DATA                                                  'yep'
   20     5        ASSIGN_OBJ                                               !0, 'actuallyMine'
          6        OP_DATA                                                  'ha%21'
          7      > RETURN                                                   1

Class IBreakThings:
Function __set:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Y7cq
function name:  __set
number of ops:  5
compiled vars:  !0 = $property, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    8     2        ASSIGN_OBJ                                               !0
          3        OP_DATA                                                  !1
    9     4      > RETURN                                                   null

End of function __set

End of class IBreakThings.

Class IExtendBrokenThings:
Function __set:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Y7cq
function name:  __set
number of ops:  5
compiled vars:  !0 = $property, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    8     2        ASSIGN_OBJ                                               !0
          3        OP_DATA                                                  !1
    9     4      > RETURN                                                   null

End of function __set

End of class IExtendBrokenThings.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
271.89 ms | 1010 KiB | 13 Q