Re: [PHP4BETA] propose for bool -> string conversion:
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] propose for bool -> string conversion: | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1803@lists.php.net to get a copy of this message | ||
> So they're buggy functions. 0 is just as much as false as "" or "0"
> are.
Whether that is true or not is not really the point. They are out there
and people are using them. And since our strings are indexed starting
from 0, a function that returns the string index of a character at the
first position in a string would logically return 0.
-Rasmus