Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8527 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99084 invoked by uid 1010); 15 Mar 2004 16:19:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98991 invoked from network); 15 Mar 2004 16:19:14 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 15 Mar 2004 16:19:14 -0000 Received: (qmail 23078 invoked from network); 15 Mar 2004 16:19:06 -0000 Received: from guardian.zend.office (HELO AndiNotebook.zend.com) (10.1.1.4) by mail.zend.com with SMTP; 15 Mar 2004 16:19:06 -0000 Message-ID: <5.1.0.14.2.20040315181848.0a16dec8@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 15 Mar 2004 18:19:04 +0200 To: Jan Schneider , "internals@lists.php.net" In-Reply-To: <20040315170405.o0cg44w4c0wccgsw@jan.dip.ammma.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] No static method callbacks anmore? From: andi@zend.com (Andi Gutmans) References: <20040315170405.o0cg44w4c0wccgsw@jan.dip.ammma.net> 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 Thanks, Andi 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