Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It really pains me that there are so many utter misunderstandings about modern PHP from people that used it years ago and have no clue about the current landscape, even in this thread.

Yes, the PHP core api is still a bit messy due to backward compatibility, but everything else it pretty awesome really. Please take a closer look if you haven't touched PHP in years, before you talk it down.



Oh, did you mean PHP the language? The webserver? The FastCGI server? The runtime?

PHP starts as a fucking mess and gets worse. Maybe once the developers figure out what it is I'll take a look but yeah it's pretty much the developers taking standard features from other languages and fucking them up just like they did yesteryear.

Closures with a use block... even in C you don't have to do that... it's a joke and a mess... How is it that a 44 year old language has better features and less cruft than one 15 years old?

Does it have a ==== operator yet?


Yeah, the functional programming side of PHP is ugly as sin.

Forgot to add your latest variable to the use block? No "closing over" for you.

What's that? All array function are prefixed with "array_"... except for the old ones which aren't, making it both verbose and confusing.


"Taking PHP Seriously" by Keith Adams (Facebook): http://www.infoq.com/presentations/php-history

Usage of server-side programming languages for websites: http://w3techs.com/technologies/overview/programming_languag...


i think most of it has to come from Wordpress' dominance over PHP applications. and we all know how much of a mess that is.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: