php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #18835 /e in preg_replace not available in PHP3
Submitted: 2002-08-09 13:22 UTC Modified: 2002-08-10 09:34 UTC
From: bsibaud at april dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.2 OS:
Private report: No CVE-ID: None
 [2002-08-09 13:22 UTC] bsibaud at april dot org
/e modifier in preg_replace is not available in PHP3.

Cf functions/pcre.c function _pcre_get_compiled_regex in PHP3 (3.0.18 and CVS) and
ext/pcre/php_pcre.c function pcre_get_compiled_regex in PHP4 
(4.1.2 and CVS).

I think PHP4 Changelog should state it more clearly, and preg-replace function should precise it too (cf example 2).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-10 09:34 UTC] sander@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 13:01:31 2024 UTC