Personally, I _like_ PHP because, at the core, it is a collection of utility functions to write webapps quickly. Here's a small set of those function that I would like to see somewhere else (like in Python for example): Save a file: file_put_contents() Load a file: file_get_contents() Trim whitespace: trim() Print a string (even numbers!): print $str Dump an array: print_r() Print the stack trace: print $e->getTraceA…
As another commenter has already posted, these are pretty trivial in Ruby and Python(and plenty of other languages).
> Want to check for errors and improve the quality of the code? Go ahead! Use lower level functions like fwrite, fread, etc;
fwrite/fread improve quality of code? As opposed to what?
> The icing on the cake is that a huge part of the built-in functions wrap and extend existing C functions: strpos, strlen, so the language rarely gets in your way.
I don't see how your conclusion follows from your premise. How does a language using strlen equate to not getting in my way?
> from my experience, people who bash a language rarely know what they're talking about and it usually just boils down to personal preferences like braces vs no-braces.
None of the languages are perfect. Though a lot of people bash languages without knowing their shit, it doesn't mean all criticism is invalid. PHP has warts - warts that go beyond personal preferences.