Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67223 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49099 invoked from network); 30 Apr 2013 20:36:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2013 20:36:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=alex@kazik.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=alex@kazik.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain kazik.de designates 209.85.210.52 as permitted sender) X-PHP-List-Original-Sender: alex@kazik.de X-Host-Fingerprint: 209.85.210.52 mail-da0-f52.google.com Received: from [209.85.210.52] ([209.85.210.52:34713] helo=mail-da0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/B9-18873-65B20815 for ; Tue, 30 Apr 2013 16:36:39 -0400 Received: by mail-da0-f52.google.com with SMTP id j17so402263dan.39 for ; Tue, 30 Apr 2013 13:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kazik.de; s=google; h=x-received:mime-version:sender:x-originating-ip:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=tpgVkZK292djl+ahrsoHa3N5NcIw1uSF/WZ6jyWacI0=; b=JCDV0kmj2BVuYQsp+4dT8FK9fQLMrOBGlrj9hEUkpuVpJmxMIa+QCKWl+1uxqTPAI9 yNokJI3SdyGM3WNyciTRYBiV/0nKdjaaz/S8YBxkbXoqDkfC+KYyLQswyQwi0TN8B0vi H7juFoirr58ATDrpMc6qFze9+4ydbXjzErIn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:x-originating-ip:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:x-gm-message-state; bh=tpgVkZK292djl+ahrsoHa3N5NcIw1uSF/WZ6jyWacI0=; b=kmlfW+QCu97IlXTsDN8ezA9EVnR0m0L7v5vhuW52xoXL3dA8KQ04QzIHU8wuGmdxff VyNe3vfhIgDRlbwsFfbaUK51H+IEfM8JITKFiNjKsSn0ZZtFrQqLJg8Go5C0+dlgbJyw emPYiI7yCl16XeThVfGdTIru8vPETc6w6nzYrTk8MvaEmw+8TrVl/nYkuVBiZlGmHbCW lrvvzvjVKVaEY5G/4laUR+7JRLLULN79G8ERH7dRPgbpQISdXx+EsxjSNDvdQY5PF1w5 OwIvbGwYYShT2Mx4qPJCBn38ue0HtQQlf7Da4iFrN1Rsjah2i4sRTFmPJNyQURn9Zg0c QjTA== X-Received: by 10.68.35.166 with SMTP id i6mr78546161pbj.221.1367354195369; Tue, 30 Apr 2013 13:36:35 -0700 (PDT) MIME-Version: 1.0 Sender: alex@kazik.de Received: by 10.68.16.9 with HTTP; Tue, 30 Apr 2013 13:36:14 -0700 (PDT) X-Originating-IP: [94.229.157.119] In-Reply-To: References: <6245ED6B-2BF7-47B7-80C0-D3B3D8E0B312@strojny.net> Date: Tue, 30 Apr 2013 22:36:14 +0200 X-Google-Sender-Auth: iZ0n33qW0iomEEKgT1ZzUnmjqTA Message-ID: To: Rasmus Schultz Cc: Ferenc Kovacs , Michael Wallner , Lars Strojny , PHP internals Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmfReVhOSPazgCAE2nt0nXMG2uUc3nUy5s269TiXqVmmtSJ/oqPQbsgazxZzSTTPlZxCvyV Subject: Re: [lists.php] Re: [PHP-DEV] property de-referencing From: lists.php@tx0.eu (ALeX) Just an idea: why not also use ^ (or another operator) to access the value? (maybe as an additional way to get/setValue) $foo = ^$user->name; echo 'Hello '.^$foo; ^$foo = 'Bob'; (using the same operator will conflict when you are accessing a property of an object which is a PropertyReference)