On Saturday 18 December 2004 00:02, Chris Boget wrote:
> Is there any way that I can force this not to happen? That the
> while loop resolves as FALSE only when the function actually
> returns a (boolean) FALSE value?
Make the test more explicit:
while (TRUE === ($bob = test())) { ... }
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
It is very difficult to prophesy, especially when it pertains to the future.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php