php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #38267 See also ereg() in stristr, strncmp
Submitted: 2006-07-31 14:27 UTC Modified: 2006-08-11 17:16 UTC
From: spam01 at pornel dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
 [2006-07-31 14:27 UTC] spam01 at pornel dot net
Description:
------------
Since ereg() is deprecated, documentation of stristr() and  strncmp() should recommend preg_match() or nothing instead.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-11 17:16 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=a5b709a40573b2863314cde97e47e8a76c33de18
Log: fix #38267: don't recommend ereg*(), as they are deprecated
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 09:01:32 2025 UTC