empty() and SplFixedArray
| From: | Michael Rubin | Date: | Thu, 25 Dec 2014 03:29:44 +0000 |
| Subject: | empty() and SplFixedArray | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-324157@lists.php.net to get a copy of this message | ||
I've been converting some code from using array to SplFixedArray and I ran
into a gotcha - empty(array()) returns true whereas empty(new
SplFixedArray()) returns false.
Is this considered a bug?