but like, wasn't facebook written in php and didn't it kind of take over, about as much as any programming whatzit ever has? (not saying that was a good thing, but yeah...)
Facebook has used Hack for a long time now, which is very different from PHP these days. It's entirely statically typed with a bunch of advanced features that PHP doesn't have.
Yahoo used a lot of PHP too, back when they were still very popular.