well PHP is a powerfull text processing language designed mainly as a CGI ( common Gateway Interface ) programming language. But PHP supports rest of other features using the library extensions.
For a example you can call any win32 API call in your PHP script using the win32 API library extension.
Like this you can use COM to create COM objects ,
Oky , the code shown bellow will open a internet explore window and
navigate to a particular web site.