Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:650 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2884 invoked from network); 3 Apr 2003 21:04:59 -0000 Received: from unknown (HELO mailout10.sul.t-online.com) (194.25.134.21) by pb1.pair.com with SMTP; 3 Apr 2003 21:04:59 -0000 Received: from fwd01.sul.t-online.de by mailout10.sul.t-online.com with smtp id 191BIr-00015P-05; Thu, 03 Apr 2003 22:27:17 +0200 Received: from baumbart.post.rwth-aachen.de (520072483730-0001@[80.142.161.153]) by fwd01.sul.t-online.com with esmtp id 191BIm-0QdGgiC; Thu, 3 Apr 2003 22:27:12 +0200 Reply-to:marcus.boerger@post.rwth-aachen.de Message-ID: <5.1.0.14.2.20030403222606.039a4998@pop.t-online.de> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 03 Apr 2003 22:27:10 +0200 To: Andrei Zmievski Cc: PHP Internals In-Reply-To: <20030403184257.GA26399@hyperion.gravitonic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 520072483730-0001@t-dialin.net Subject: Re: [PHP-DEV] Registering PPP methods From: marcus.boerger@t-online.de ((Marcus =?iso-8859-1?Q?B=F6rger?=)) References: <20030403184257.GA26399@hyperion.gravitonic.com> At 20:42 03.04.2003, 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? Agreed! Please make a new PHP_FE_EX or PHP_METHOD macro for that... marcus