Re: [PHP-DEV] No static method callbacks anmore?
by Jan Schneider other posts by this author
Mar 15 2004 4:35PM messages near this date
Re: [PHP-DEV] No static method callbacks anmore?
|
[PHP-DEV] reproduce script (Re: [PHP-DEV] No static method callbacks anmore?)
Zitat von Andi Gutmans <andi@[...].com> :
> Can you do a reverse apply of the following diff and let me know if it
> fixes the problem?
> http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.274&r2=1.275&ty=u
No, it doesn't.
> At 05:04 PM 3/15/2004 +0100, 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
|