Most of the gripes with PHP seem to do with its syntax, error messages, and inconsistent function naming.
It seems like it shouldn't be too difficult to write an automatic converter from "PHP" to "Improved PHP", which might solve a lot of these issues.