On Sun, 5 Jan 2003, Leon Atkinson wrote: > > 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. "
Okay, a -1 on breaking this then. Derick -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php