3v4l.org

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

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

End of function __set

End of class x.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.55 ms | 1393 KiB | 13 Q