Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:645 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95720 invoked from network); 3 Apr 2003 18:43:32 -0000 Received: from unknown (HELO localhost.localdomain) (65.198.110.5) by pb1.pair.com with SMTP; 3 Apr 2003 18:43:32 -0000 Received: (from andrei@localhost) by localhost.localdomain (8.11.6/8.11.6) id h33Igw126425 for internals@lists.php.net; Thu, 3 Apr 2003 13:42:58 -0500 X-Authentication-Warning: localhost.localdomain: andrei set sender to andrei@gravitonic.com using -f Date: Thu, 3 Apr 2003 13:42:57 -0500 To: PHP Internals Message-ID: <20030403184257.GA26399@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , PHP Internals Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Registering PPP methods From: andrei@gravitonic.com (Andrei Zmievski) Today I ran into a problem because I needed to register an internal class that had some protected methods. Currently, the only way to do it is by doing a zend_hash_find() on ce->function_table after registration and updating fn_flags field manually. We should find an easier way to specify fn_flags before registration. What does everyone think of adding an extra field to zend_function_entry structure that would contain initial flags for the method? -Andrei http://www.gravitonic.com/ "I still find each day too short for all the thoughts I want to think, all the walks I want to take, all the books I want to read, and all the friends I want to see." -John Burroughs