Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67239 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81974 invoked from network); 1 May 2013 00:43:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 May 2013 00:43:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.212.49 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.212.49 mail-vb0-f49.google.com Received: from [209.85.212.49] ([209.85.212.49:54827] helo=mail-vb0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/BF-18873-23560815 for ; Tue, 30 Apr 2013 20:43:31 -0400 Received: by mail-vb0-f49.google.com with SMTP id 12so926752vbf.22 for ; Tue, 30 Apr 2013 17:43:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=maDNdtBNhyLsleS66V4fdHWpZex//zuxLW99ZwdqgQI=; b=RaNKoc2jKu+W3GXiSWcwQ+bwlRvSl2HZU1M8urLoWFzW01uyPmwIIDNKVNTKFrvkay lE8gqfScHuxMAYdukl5Phsbp4SzJmT9zMTfV74tEh+s4KP7dym/+/6zKLZTVVo7+J1EJ ib4YjamN+dsRP21QpYU8UiscK81p0YNsMcORWY5rBjVQtxuqcpwPiIxN2S7NHkufhZH2 UC6lxYbRzys1CjnPiI0asR2LusnYb3ZO4vq1NLRzWINJe16/oTF9hPcpwGEqVHcEvimB SpyYIaqOMyI92VRdh61ZHWhq9d0SMHeFsHTGViiOLJs78hw0ikCM6rAdqPAyYYw5MxB+ 2Kig== X-Received: by 10.52.67.11 with SMTP id j11mr184636vdt.87.1367369007787; Tue, 30 Apr 2013 17:43:27 -0700 (PDT) Received: from [192.168.200.108] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id tf2sm673365veb.8.2013.04.30.17.43.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Apr 2013 17:43:27 -0700 (PDT) Message-ID: <5180652D.1080007@lerdorf.com> Date: Tue, 30 Apr 2013 17:43:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: Rasmus Schultz CC: Stas Malyshev , PHP internals References: <6245ED6B-2BF7-47B7-80C0-D3B3D8E0B312@strojny.net> <51803086.6020002@sugarcrm.com> <51805A00.4050803@lerdorf.com> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmpSLO6PuGNgMsuPaDlORrXfg13dOkbI4SQbwrseWmJ65YLPV7iAyzCWlRi1MQCQWKKY9WB Subject: Re: [PHP-DEV] property de-referencing From: rasmus@lerdorf.com (Rasmus Lerdorf) On 04/30/2013 05:17 PM, Rasmus Schultz wrote: > If the asterisk (or some other character) offers and easier > implementation path, whatever. It doesn't. This is a fringe feature, as evidenced by the fact that you are having a hard time convincing people that it is needed, and thus shouldn't overload an existing operator. Visually it would be confusing to take any well-known operator and give it a different obscure meaning. But yes, syntax-wise ^ could be made to work, the implementation problem I referred to is lower-level than that. Properties simply don't carry this information with them so a lot of things would have to change internally for this to ever work and if a clean implementation could be found, like I said, adding it to the reflection functions is the proper place. -Rasmus