Win32 only:
It's probably worth noting here that you can't get the methods of an object created by the built-in 'COM' class. ie - this won't work:
$word = new COM('Word.Application');
$methods = get_class_methods(get_class($word));
print_r($methods);