3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { public static function foo(): void { $this->bar = 'Bar'; } } Foo::foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TYIiV
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   INIT_STATIC_METHOD_CALL                                      'Foo', 'foo'
          1        DO_FCALL                                          0          
          2      > RETURN                                                       1

Class Foo:
Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TYIiV
function name:  foo
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   FETCH_THIS                                           $0      
          1        ASSIGN_OBJ                                                   $0, 'bar'
          2        OP_DATA                                                      'Bar'
    7     3      > RETURN                                                       null

End of function foo

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.76 ms | 3393 KiB | 13 Q