3v4l.org

run code in 500+ PHP versions simultaneously
<?php class TestThis { public function __set($property_name, $value) { $this->$property_name = $value; } } $t = new TestThis; $t->a = 'sdf';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hH8v9
function name:  (null)
number of ops:  6
compiled vars:  !0 = $t
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   NEW                                                  $1      'TestThis'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
   12     3        ASSIGN_OBJ                                                   !0, 'a'
          4        OP_DATA                                                      'sdf'
          5      > RETURN                                                       1

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

End of function __set

End of class TestThis.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.18 ms | 1582 KiB | 13 Q