What methods can be used to retrieve information about COM-Interfaces and their methods in PHP?

To retrieve information about COM-Interfaces and their methods in PHP, you can use the `com_get_active_object()` function to get an instance of a COM object and then use the `com_get_methods()` function to retrieve information about the methods available for that object.

$com = com_get_active_object('Excel.Application');
$methods = com_get_methods($com);

foreach ($methods as $method) {
    echo $method . PHP_EOL;
}