I see your point, but Facebook had large collection of code written in php(still is?), and they are far from having "lack of investment or interest in technology."
They are definitely the outlier and the version of php that fb uses can barely be called php when they more or less rewrote how it works under the hood.
But this isn't a dig at php, just stating chosen languages/frameworks matter a lot. I think it speaks volumes about a company's tech philosophy if they still mainly use php and jquery for web development.
To your point they also, like, wrote their own PHP interpreter. If you asked your Facebook interviewer about PHP you'd probably get an interesting answer!