Re: [PHP4BETA] propose for bool -> string conversion:
| From: | Sascha Schumann | Date: | Fri, 02 Jul 1999 14:29:02 +0000 |
| Subject: | Re: [PHP4BETA] propose for bool -> string conversion: | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1821@lists.php.net to get a copy of this message | ||
> Sometimes you don't care if they fail. What exactly are you proposing for
> the strpos() function?
I didn't propose anything. Now please don't tell me that I should
go away, because I don't have any better proposal.
What about a new function xxx which behaves as strpos but returns
-1, if it doesn't find the character? -1 is an illegal index, and
-1 != false.
--
Regards,
Sascha Schumann
Consultant