[PHP-DEV] Re: No static method callbacks anmore?
by Hans Lellelid other posts by this author
Mar 15 2004 4:00PM messages near this date
[PHP-DEV] Re: reproduce script (Re: [PHP-DEV] No static method callbacks
anmore?)
|
#27605 [Opn->Bgs]: case sensitivity of attributes differs in ldap_search and ldap_add/modify
I was just about to post the same bug ...
Except that I couldn't quite build a reproducing testcase. I get
exactly the same message in my code, but when I created a small static
class to reproduce the problem it seems to work fine ... (static or
non-static or mixture)
Hans
Jan Schneider wrote:
> 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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Jan Schneider
Andi Gutmans
Jan Schneider
Hans Lellelid
Andi Gutmans
Jan Schneider
Andi Gutmans
Hans Lellelid
|