Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70268 invoked from network); 18 Mar 2003 22:22:21 -0000 Received: from unknown (HELO hyperion.gravitonic.com) (65.198.110.5) by pb1.pair.com with SMTP; 18 Mar 2003 22:22:21 -0000 Received: (from andrei@localhost) by hyperion.gravitonic.com (8.11.6/8.11.6) id h2IMLpY09926; Tue, 18 Mar 2003 17:21:51 -0500 X-Authentication-Warning: hyperion.gravitonic.com: andrei set sender to andrei@gravitonic.com using -f Date: Tue, 18 Mar 2003 17:21:51 -0500 To: Sterling Hughes Cc: PHP Internals Message-ID: <20030318222150.GA9901@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , Sterling Hughes , PHP Internals References: <20030318215420.GA8409@hyperion.gravitonic.com> <20030318215701.GA8449@hyperion.gravitonic.com> <1048024128.26326.4.camel@hasele> <20030318221048.GA9149@hyperion.gravitonic.com> <1048024720.26326.9.camel@hasele> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1048024720.26326.9.camel@hasele> User-Agent: Mutt/1.4i Subject: Re: [PHP-DEV] function registration patch From: andrei@gravitonic.com (Andrei Zmievski) On Tue, 18 Mar 2003, Sterling Hughes wrote: > You're missing my point. Your patch doesn't allow for one to use > get_constructor and get_method handlers to implement case-sensitive > handlers, as you are lowercasing the stuff on insert, the patch is > limiting. I already said that my patch sucks, did you miss that? > I think the best solution is just to play nice with the engine, register > it as "gtkbutton" or "__constructor" in the code itself. Then, add an > introspection callback to the engine, which can handle all the accesses > to function tables, etc. That approach has drawbacks. Using "__construct" means breaking BC for people using my extension, and registering constructor for "GtkButton" class as "gtkbutton" doesn't work - the constructor is not called. -Andrei http://www.gravitonic.com/ "Perl - the only language that looks the same before and after RSA encryption." -Keith Bostic