Skip to content

Comment on What to Look For in PHP 5.4parent

Comments

PHP 5.4 does NOT introduce closures, they've been in there from 5.3.

As for traits, sure but as with all things it depends on who will use them. Some will make a mess out of them, while other will use them properly. Just as with any other feature in any other language. Please stop using this tiered "reason" for why PHP is bad. It's just doesn't hold water.

Sorry, I didn't mean to imply that 5.4 introduced closures, I was more speaking on a long-term level on that note.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.