Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14444 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91233 invoked by uid 1010); 28 Jan 2005 00:24:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 91209 invoked from network); 28 Jan 2005 00:24:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2005 00:24:32 -0000 X-Host-Fingerprint: 216.145.54.172 mrout2.yahoo.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([216.145.54.172:40630] helo=mrout2.yahoo.com) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id CD/67-17863-D3689F14 for ; Thu, 27 Jan 2005 19:24:30 -0500 Received: from bourbon.corp.yahoo.com (bourbon.corp.yahoo.com [216.145.53.135]) by mrout2.yahoo.com (8.13.1/8.13.1/y.out) with ESMTP id j0S0NukM027269; Thu, 27 Jan 2005 16:23:57 -0800 (PST) Received: (from andrei@localhost) by bourbon.corp.yahoo.com (8.12.9/8.11.1) id j0S0NuJ4063834; Thu, 27 Jan 2005 16:23:56 -0800 (PST) (envelope-from andrei@gravitonic.com) X-Authentication-Warning: bourbon.corp.yahoo.com: andrei set sender to andrei@gravitonic.com using -f Date: Thu, 27 Jan 2005 16:23:56 -0800 To: Andi Gutmans Cc: internals@lists.php.net Message-ID: <20050128002354.GA63819@gravitonic.com> References: <5.1.0.14.2.20050127144719.0270d950@localhost> <20050127223357.GA52978@gravitonic.com> <5.1.0.14.2.20050127144719.0270d950@localhost> <5.1.0.14.2.20050127161218.0269dcb0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20050127161218.0269dcb0@localhost> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] get_property_ptr_ptr handler From: andrei@gravitonic.com (Andrei Zmievski) On Thu, 27 Jan 2005, Andi Gutmans wrote: > I'm not sure what you mean by passing by reference. If you want to do real > by reference work then you have to use object proxies and ->set() ->get() > callbacks. In general, the semantics of by reference is mainly designed for > regular PHP objects and zval **'s (i.e. PHP values). I tried passing my property to a function that accepts parameter by reference, and the modifying it inside the function. The value was changed on the outside as well. - Andrei