3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface Foo { public function bar(); } echo new ReflectionMethod('Foo::bar');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GfGLK
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   NEW                                                  $0      'ReflectionMethod'
          1        SEND_VAL_EX                                                  'Foo%3A%3Abar'
          2        DO_FCALL                                          0          
          3        ECHO                                                         $0
          4      > RETURN                                                       1

Class Foo:
Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GfGLK
function name:  bar
number of ops:  1
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                       null

End of function bar

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.76 ms | 1453 KiB | 13 Q