I write in php for the better part of 4 years now and hate it every day. And I have written in c++ before that. Ask 20000 developers what are their main pain grievances sort them by "popularity" and just remove them one by one.
For me it is the hard debugging, the include mess and the "extremely" creative ways parsing and runtime errors are communicated to the developers.