From: [EMAIL PROTECTED] Operating system: all PHP version: 4.3.0 PHP Bug Type: Documentation problem Bug description: undocumented feature of strstr() & co.
strstr() and company has undocumented feature for the way how the second parameter is used. In the moment the second parameter is defined as string but must be mixed. When int instead of string is passed the ascii symbol of that int is used as a needle. For reference a mail from Ilia to php-dev : http://marc.theaimsgroup.com/?l=php-dev&m=104179161510583&w=2 Andrey -- Edit bug report at http://bugs.php.net/?id=21456&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21456&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21456&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21456&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21456&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21456&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21456&r=support Expected behavior: http://bugs.php.net/fix.php?id=21456&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21456&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21456&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21456&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21456&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21456&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21456&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21456&r=gnused -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php