Re: Re: strange stripos behavior
| From: | Richard Lynch | Date: | Wed, 25 Jul 2007 04:32:01 +0000 |
| Subject: | Re: Re: strange stripos behavior | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259481@lists.php.net to get a copy of this message | ||
On Tue, July 24, 2007 8:30 pm, Robert Cummings wrote:
> On Tue, 2007-07-24 at 20:03 -0500, Shawn McKenzie wrote:
>> For another guru, I have a question. I just checked the returns of
>> this
>> func on php.net to check myself and I see:
>>
>> This function may return Boolean FALSE, but may also return a
>> non-Boolean value which evaluates to FALSE, such as 0 or "".
>>
>> When would stripos() return "" ?
It wouldn't, almost for sure.
The language there is boiler-plate for this function and other
functions that do return "" in some circumstances.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?