Re: [PHP-DEV] Re: PHP 4.0 Bug #3017 Updated: if(strpos("Mozilla/4.7", "Mozilla") evaluates false!!! From: rasmus <email protected>
Date: 12/21/99

> that strpos("Mozilla/4.7", "Mozilla") is 0 should not mean that it's not
> found, instead should mean that it's found right on the 0th position,
> and therefore in an if-clause should evaluate to true.

It doesn't return 0. It returns false or ""

-Rasmus

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>