Hacker News new | ask | show | jobs
by CWIZO 5287 days ago
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.

1 comments

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