#18835 [NEW]: /e in preg_replace not available in PHP3
| From: | bsibaud at april dot org | Date: | Fri, 09 Aug 2002 17:22:38 +0000 |
| Subject: | #18835 [NEW]: /e in preg_replace not available in PHP3 | ||
| Groups: | php.bugs php.doc | ||
| Request: | Send a blank email to php-bugs+get-16395@lists.php.net to get a copy of this message | ||
From: bsibaud@april.org
Operating system:
PHP version: 4.2.2
PHP Bug Type: Documentation problem
Bug description: /e in preg_replace not available in PHP3
/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).
--
Edit bug report at http://bugs.php.net/?id=18835&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18835&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18835&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18835&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18835&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18835&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18835&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18835&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18835&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18835&r=globals