3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function __set($name, $value) { var_dump($name); } public static function set() { self::$var = 'hello'; } } test::set();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZoG8Y
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_STATIC_METHOD_CALL                                  'test', 'set'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

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

End of function __set

Function set:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZoG8Y
function name:  set
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN_STATIC_PROP                                       'var'
          1        OP_DATA                                                  'hello'
   11     2      > RETURN                                                   null

End of function set

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.37 ms | 1395 KiB | 15 Q