> Because this behavior is not documented For the record, it is documented: http://www.php.net/manual/en/function.strstr.php
"If needle is not a string, it is converted to an integer and applied as the ordinal value of a character. " And I'm sure it's worked this way for at least three years. Leon -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php