On Thu, 27 Oct 2005, Jochem Maas wrote:
advanced code should be checking vars properly before using them and, well, for any given foreach loop there is often enough an 'if (!count($array))'-likestatement to take care of the 'empty' case. and in cases when speed is very important
..and where count() magically returns 1 f.e. for FALSE. :) So really you can't rely on that. :) --Jani -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php