PHP does not have 3000 keywords. It has an ordinary number, and the rest are functions - basically the standard library.
A library function that is not optional is effectively a keyword. The PHP standard library (all ~3000 functions) is not optional, as far as I know.
Many (most?) of them are optional, you can compile PHP with/without certain extensions. Design wise, it seems insane - kind of like the iPhone's non-removable battery. Turns out it doesn't hurt either one's popularity though...
OK, so I really didn't think I needed to specify "at run-time" with regard to the meaning of "optional".
You are confusing the language and the library. And for that matter the library is not bad either, it does however have a few poorly named legacy functions.
> It's just silly to say that all languages are equal.
Sorry, I wasn't really trying to say that. I meant "loosely typed procedural languages" not "any other language".
You pick the language the matches what you are doing, there is nothing inherent about PHP that makes it bad.