News for hackers. Stuff that matters.
Re:What PHP 5.5 might look like by ChiperSoft on Thursday July 12, 2012 @12:32PM (#4235357)
I could see it being depreciated for use on non-arrays, but at the moment the only other method of detecting an empty array is `!count($arr)`, which is significantly slower if the array isn't empty.

Ultimately this isn't a language issue, it's a training issue. If you're using empty in place of isset, you're doing it wrong, the both serve completely different purposes.

There are no comments on this comment yet.