Re: string functions
| From: | Leon Atkinson | Date: | Mon, 06 Jan 2003 02:57:37 +0000 |
| Subject: | Re: string functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93164@lists.php.net to get a copy of this message | ||
> 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