Re: Sessions, Is this behavior by design?
| From: | Alexander Skwar | Date: | Tue, 21 Aug 2001 21:15:09 +0000 |
| Subject: | Re: Sessions, Is this behavior by design? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63774@lists.php.net to get a copy of this message | ||
So sprach »Johnny Nguyen« am 2001-08-21 um 12:29:53 -0700 :
> false. I was expecting boolean true and false return values, but no matter
> i can work with it this way, just wondering if this is by design.?
There isn't such a thing as boolean true or false in PHP. In PHP,
everything other than NULL, FALSE, 0 and "" (empty string) is considered
to be TRUE if used in a boolean context.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 5 hours 13 minutes