Date: 12/21/99
- Next message: Andrei Zmievski: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3017 Updated: if(strpos("Mozilla/4.7", "Mozilla") evaluates false!!!"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2986 Updated: Apache crashes when compiling php4/mod_perl-1.21 monolithically."
- In reply to: Cuneyt YILMAZ: "[PHP-DEV] Re: PHP 4.0 Bug #3017 Updated: if(strpos("Mozilla/4.7", "Mozilla") evaluates false!!!"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3017 Updated: if(strpos("Mozilla/4.7", "Mozilla") evaluates false!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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>
- Next message: Andrei Zmievski: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3017 Updated: if(strpos("Mozilla/4.7", "Mozilla") evaluates false!!!"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2986 Updated: Apache crashes when compiling php4/mod_perl-1.21 monolithically."
- In reply to: Cuneyt YILMAZ: "[PHP-DEV] Re: PHP 4.0 Bug #3017 Updated: if(strpos("Mozilla/4.7", "Mozilla") evaluates false!!!"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3017 Updated: if(strpos("Mozilla/4.7", "Mozilla") evaluates false!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

