#21758 [Opn->Fbk]: PCRE functions were screwed up
| From: | sniper@php.net | Date: | Mon, 20 Jan 2003 06:29:47 +0000 |
| Subject: | #21758 [Opn->Fbk]: PCRE functions were screwed up | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30618@lists.php.net to get a copy of this message | ||
ID: 21758
Updated by: sniper@php.net
Reported By: daniel.gorski@develnet.org
-Status: Open
+Status: Feedback
-Bug Type: Scripting Engine problem
+Bug Type: PCRE related
Operating System: Linux, Win32
PHP Version: 5CVS-2003-01-19 (dev)
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
To see if it's ZE2 issue or not..and also,
provide a complete, short and self-contained example script
so that we can easily reproduce the problem ourselves.
Previous Comments:
------------------------------------------------------------------------
[2003-01-19 17:16:03] daniel.gorski@develnet.org
Probably this patch screwed up preg_replace_* functions:
http://lists.php.net/article.php?group=php.cvs&article=18024
I need the functionality to pass a callback _method_ to
preg_replace_callback().
It worked usually like this (in a class):
$s = preg_replace_callback(<pattern>, array(&$this, 'callbackmethod'),
$s);
Now "array" is forbidden. Is this your intention? How to access
callback methods then?
regards dtg
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21758&edit=1