PHP will never compare to javascript. They're 2 different animals. One runs on the server and therefor may generate content based upon information stored on the server. Javascript however can make websites more interactive on the CLIENT side.

It would be better to compare PHP with ASP or Perl - for they all serve the same purpose. I personally prefer perl cause it's a full language and therefor the most powerful.
Domain Registration, Hosting, Management