Re: [PHP4BETA] propose for bool -> string conversion:

From: Date: Fri, 02 Jul 1999 14:41:15 +0000
Subject: Re: [PHP4BETA] propose for bool -> string conversion:
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-1824@lists.php.net to get a copy of this message
> That still doesn't really solve that example you gave though. Now > if(strpos()) will return true when the character isn't found. That's sort > of confusing as well. One had to adopt it to strpos(..) != -1 then, of course. > I really don't know what the right solution is. It is a tricky situation, > but I don't agree that the current implementation is just plain wrong. Dito -- Regards, Sascha Schumann Consultant

« previous php.version4 (#1824) next »