Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:659 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79704 invoked from network); 4 Apr 2003 09:26:21 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.189) by pb1.pair.com with SMTP; 4 Apr 2003 09:26:21 -0000 Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 191NSk-0005Yn-00; Fri, 04 Apr 2003 11:26:18 +0200 Received: from [217.80.180.211] (helo=[217.80.180.211]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 191NSk-0006kn-00; Fri, 04 Apr 2003 11:26:18 +0200 To: Andrei Zmievski Cc: PHP Internals In-Reply-To: <20030403184257.GA26399@hyperion.gravitonic.com> References: <20030403184257.GA26399@hyperion.gravitonic.com> Content-Type: text/plain Organization: Message-ID: <1049448388.25691.869.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 04 Apr 2003 11:26:28 +0200 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Registering PPP methods From: thekid@thekid.de (Timm Friebe) On Thu, 2003-04-03 at 20:42, Andrei Zmievski wrote: > 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? Good idea! - Timm