Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18450 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51928 invoked by uid 1010); 25 Aug 2005 22:10:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51913 invoked from network); 25 Aug 2005 22:10:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2005 22:10:21 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:49190] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 79/42-28235-CC14E034 for ; Thu, 25 Aug 2005 18:10:20 -0400 Received: from [192.168.1.3] (dsl-082-083-226-059.arcor-ip.net [82.83.226.59]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id B932735C384; Fri, 26 Aug 2005 00:31:02 +0200 (CEST) Date: Fri, 26 Aug 2005 00:08:23 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <28969798.20050826000823@marcus-boerger.de> To: Derick Rethans Cc: PHP Developers Mailing List , Jan Borsodi , Raymond Bosman , Frederik Holljen , Tobias Schlitt In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Property Overloading RFC From: helly@php.net (Marcus Boerger) Hello Derick, Thursday, August 25, 2005, 2:01:56 PM, you wrote: > On Tue, 2 Aug 2005, Derick Rethans wrote: >> we're finding some problems with property overloading (__get() and >> __set()). Here is an RFC describing what we'd like to see changed. >> Please comment on this. > I updated the proposal: > http://files.derickrethans.nl/property_overloading.html > If nobody as any better idea on how to solve it I'd like to start > implementing it. To your solution of problem 3. We do not yet allow signatures of the form (... [, ...]) since that would break our inheritance system. The thing you could do is that the root class decides whetehr we have that optional paramater always or never. Best regards, Marcus