Ard Biesheuvel wrote:
Hartmut Holzgraefe wrote:

Adam Maccabee Trachtenberg wrote:

Logically, it would probably be best to return 0 because that's where
the first empty string occurs.

this is strrchr(), not strchr() ;)


Actually it's strrpos(), not str[r]chr() [look at Alexander's code], which _has_ been rewritten in PHP 5.



It should still find the *last* emtpy string, not the first, shouldn't it? ;)

--
Hartmut Holzgraefe  <[EMAIL PROTECTED]>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to