note 32617 rejected from function.sizeof by rioter

From: Date: Tue, 03 Jun 2003 07:35:12 +0000
Subject: note 32617 rejected from function.sizeof by rioter
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49600@lists.php.net to get a copy of this message
Note Submitter: Niall ---- I hate to point out the obvious, but it is a real pain to check for an empty array, if count and sizeof return 1 for any variable (array or not)..... ??? Is there an isEmpty, or a "proper" length function (i.e one that operates like array length functions in every other language I have ever used.)? Thanks in advance.

« previous php.notes (#49600) next »