Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84520 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48534 invoked from network); 10 Mar 2015 20:46:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Mar 2015 20:46:50 -0000 X-Host-Fingerprint: 93.82.116.86 93-82-116-86.adsl.highway.telekom.at Received: from [93.82.116.86] ([93.82.116.86:14371] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/0C-08808-8385FF45 for ; Tue, 10 Mar 2015 15:46:49 -0500 Message-ID: To: internals@lists.php.net Date: Tue, 10 Mar 2015 21:46:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 References: <24.71.03288.592FDF45@pb1.pair.com> <54FE20E5.1060605@gmail.com> In-Reply-To: <54FE20E5.1060605@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Posted-By: 93.82.116.86 Subject: Re: [PHP-DEV] Request Feedback for Instance Variable Sugar RFC From: mail@deroetzi.de (Johannes Ott) Hi, okay indeed the dynamic properties are a problem I didn't think about on my suggestion. Without the wish to hijack this thread for another typesafety discussion, I must say again that PHP needs a less dynamic and more declaratively properties concept in my opinion. So I would suggest for now to keep the $this variable, but to make it more similar to other OOP-languages I would suggest to remove the $-character in front. In my opinion it would fit better to other object keywords like parent and self as well. so i would prefer this->... instead of $this->... Regards -- DerOetzi