No static method callbacks anmore?
| From: | Jan Schneider | Date: | Mon, 15 Mar 2004 16:04:05 +0000 |
| Subject: | No static method callbacks anmore? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-8525@lists.php.net to get a copy of this message | ||
Hi,
before reporting a bug, I want to make sure that this is no intentional
change. Are static methods no longer supported as callbacks?
preg_replace_callback('/some pattern/', array('MyClass', 'Method'),
$subject)
raises a warning atm:
Unable to call custom replacement function in ...
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft