Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42519 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91029 invoked from network); 6 Jan 2009 22:40:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2009 22:40:10 -0000 Authentication-Results: pb1.pair.com header.from=david.coallier@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=david.coallier@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.10 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: david.coallier@gmail.com X-Host-Fingerprint: 209.85.220.10 mail-fx0-f10.google.com Received: from [209.85.220.10] ([209.85.220.10:49117] helo=mail-fx0-f10.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/85-07052-9CDD3694 for ; Tue, 06 Jan 2009 17:40:09 -0500 Received: by fxm3 with SMTP id 3so1390678fxm.23 for ; Tue, 06 Jan 2009 14:40:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=jQrtMVYhNqPKm/PSLwO7vA7t8HQLaJ9fHSCP38/eMQI=; b=MBvNacyg0TC5w5Zr4T2C+8RuRaXdWzxJgT4b+Nd95KIxe/tXG9QOFMgn/OtLOL8Y4M CSUr16+zp1DfinMlnp+F7OdTAJTwJDhrkex+FS/acG87ZxeutksiPrEvj0tvi+U1/mGx TeGFvI++PC+OIrwVyU+kkQC1UGCCl44NB6DBM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=UnFzA1B9R3sEL/oRcJAY/Ay9Pd0xDd43a2i3FJZ+INBxk2FYpxl1+s733wwQ79n7av bCP/nwCJtdN0x1nAFT/mUO2QS16HPX1XONnFOHGiLPgA8SsfhKTr7ll9or3TfvvKYT6Q HX3R/bdxtkw7rsyPei9k/58QAY1Z91xASPrrs= Received: by 10.223.112.201 with SMTP id x9mr15892949fap.69.1231281606085; Tue, 06 Jan 2009 14:40:06 -0800 (PST) Received: by 10.223.125.194 with HTTP; Tue, 6 Jan 2009 14:40:06 -0800 (PST) Message-ID: Date: Tue, 6 Jan 2009 22:40:06 +0000 Sender: david.coallier@gmail.com To: "Andrei Zmievski" Cc: "PHP internals" In-Reply-To: <4963D8AD.5090502@gravitonic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4963D8AD.5090502@gravitonic.com> X-Google-Sender-Auth: e857ecbb25372bb2 Subject: Re: [PHP-DEV] Private member/method access inconsistency From: davidc@php.net ("David Coallier") > To me it looks like a large inconsistency in the way we invoke overloaded > handlers for > members vs. methods. I am not sure how it came to be this way, but it's > probably something > we should fix. We can either remove the call to __get() on private member > access, or add > call to __call() on private method invocation. The former approach presents > more of a BC > problem IMHO, so I am advocating the latter. I've attached a simple patch > for consideration. > I'd say go ahead, this sounds like common sense to be consistent in both methods and members. -- Slan, David