#21758 [NEW]: PCRE functions were screwed up

From: Date: Sun, 19 Jan 2003 23:16:03 +0000
Subject: #21758 [NEW]: PCRE functions were screwed up
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30592@lists.php.net to get a copy of this message
From: daniel.gorski@develnet.org Operating system: Linux, Win32 PHP version: 5CVS-2003-01-19 (dev) PHP Bug Type: Scripting Engine problem Bug description: PCRE functions were screwed up 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 bug report at http://bugs.php.net/?id=21758&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21758&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21758&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21758&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21758&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21758&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21758&r=support Expected behavior: http://bugs.php.net/fix.php?id=21758&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21758&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21758&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21758&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21758&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21758&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21758&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21758&r=gnused

« previous php.bugs (#30592) next »