Bug #13016: what is the output from preg_replace("/a/", '$1','a')
| From: | dour at ctc dot org dot cn | Date: | Wed, 29 Aug 2001 06:50:00 +0000 |
| Subject: | Bug #13016: what is the output from preg_replace("/a/", '$1','a') | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64561@lists.php.net to get a copy of this message | ||
From: dour@ctc.org.cn
Operating system: FreeBSD 4.3-STABLE
PHP version: 4.0.6
PHP Bug Type: *Regular Expressions
Bug description: what is the output from preg_replace("/a/",
'$1','a')
What is the output from exit(preg_replace("/a/", '$1','a'));
'$1' or ''?
I want it is '$1',but it is '';
BUG?
--
Edit bug report at: http://bugs.php.net/?id=13016&edit=1