php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #21456 undocumented feature of strstr() & co.
Submitted: 2003-01-06 03:09 UTC Modified: 2003-01-06 03:12 UTC
From: andrey@php.net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.3.0 OS: all
Private report: No CVE-ID: None
 [2003-01-06 03:09 UTC] andrey@php.net
 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 05:01:30 2024 UTC