Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67226 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54739 invoked from network); 30 Apr 2013 21:00:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2013 21:00:52 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.128.179 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.128.179 mail-ve0-f179.google.com Received: from [209.85.128.179] ([209.85.128.179:52851] helo=mail-ve0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/EA-18873-30130815 for ; Tue, 30 Apr 2013 17:00:51 -0400 Received: by mail-ve0-f179.google.com with SMTP id oz10so784701veb.24 for ; Tue, 30 Apr 2013 14:00:48 -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=O4+Oc3LB8mqYHP40uELUU7kfH/Nes1HergDAt1Iefe0=; b=VYHV9Cx0w8C5IK8d+ZBEpeBvzqq6m++tbs/OrgqOj8g9lEU5iQvuglmc8hui+DofJ1 MO2PoAJkxiB2wMJGEGwMws932PBiC+xsM7SxV3Kidm0cvopXBSW80yT1CxJpln3FSIab vU4Y0003VVIUMGPL9Wj37GeIPYySI/EzU+dXYzydcXrwPkx1r4BSJtSc74qq1Bbg1r4T Q0UgpUpfZa9ArCAadbG2M25rC4DEBLhn4uwq8PaGCIQXYWStUnaQ5zIzcsIS+1r+zU2E FYi6BGD6h627A8WuvJyRCx9h/Z3uodaJJ59156mvs7TzJnakx/PGejDco41VseFAbYQp uGXQ== X-Received: by 10.58.15.193 with SMTP id z1mr35690439vec.40.1367355648865; Tue, 30 Apr 2013 14:00:48 -0700 (PDT) Received: from [192.168.200.148] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id 13sm100780vdg.4.2013.04.30.14.00.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Apr 2013 14:00:47 -0700 (PDT) Message-ID: <518030FD.5030504@lerdorf.com> Date: Tue, 30 Apr 2013 14:00:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: Stas Malyshev CC: Rasmus Schultz , PHP internals References: <6245ED6B-2BF7-47B7-80C0-D3B3D8E0B312@strojny.net> <51803086.6020002@sugarcrm.com> In-Reply-To: <51803086.6020002@sugarcrm.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlo5R/0dQGvJi1S3TQoQ+wryQzxtc6hkulOtq02VyHlGsllDVoAdT9W64X1hY3wUSln0lZv Subject: Re: [PHP-DEV] property de-referencing From: rasmus@lerdorf.com (Rasmus Lerdorf) On 04/30/2013 01:58 PM, Stas Malyshev wrote: > Hi! > >> I'm proposing we need a way to statically reference an object property - >> the object property itself, not it's value: > > You probably have use case for that, and it should be pretty easy to > write a class that does that, but why it should be in the language? It > certainly doesn't look like something sizeable portion of PHP devs would > do frequently. It is certainly not worth overloading the XOR operator for. -Rasmus