4 ms·
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
by CWIZO 15y 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.
- sipefree 15y agoSorry, I didn't mean to imply that 5.4 introduced closures, I was more speaking on a long-term level on that note.