Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19398 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12071 invoked by uid 1010); 4 Oct 2005 14:31:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12055 invoked from network); 4 Oct 2005 14:31:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Oct 2005 14:31:37 -0000 X-Host-Fingerprint: 84.60.15.198 dslb-084-060-015-198.pools.arcor-ip.net Received: from ([84.60.15.198:22935] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id EB/7E-54476-84292434 for ; Tue, 04 Oct 2005 10:31:36 -0400 Message-ID: To: internals@lists.php.net Date: Tue, 04 Oct 2005 16:30:40 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 84.60.15.198 Subject: Re: [PHP-DEV] $ref =& $this; From: oliver.graetz@arcor.de (=?ISO-8859-1?Q?Oliver_Gr=E4tz?=) Ford, Mike schrieb: > Yes, very true. I've mentioned before that I think PHP 5's object thingummies should be referred to as "handles" (and I'm sure I actually saw this usage in early versions of the PHP 5 or Zend Engine 2 proposals). Then, it's much clearer that: > > $obj2 = $obj1 > > gives you a copy of the object handle, but: > > $obj2 = &$obj1 > > gives you a reference to the handle. From the point of view of an ordinary programmer: He's so right: It is absolutely clear! You _must_ put this in the official documentation! I knew what was happening before but up to this few words I could not put it down in words. Thank you, Mike! AllOLLi ____________ Simon: "So what are we doing?" Kaylee: "Oh! Crime." Simon: "Crime, good. Okay. Crime." [firefly 02]