Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18986 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27288 invoked by uid 1010); 15 Sep 2005 14:23:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27273 invoked from network); 15 Sep 2005 14:23:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Sep 2005 14:23:34 -0000 X-Host-Fingerprint: 64.233.162.194 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.194:12166] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 14/FA-41173-6E389234 for ; Thu, 15 Sep 2005 10:23:34 -0400 Received: by zproxy.gmail.com with SMTP id 40so265430nzk for ; Thu, 15 Sep 2005 07:23:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kuKzV9NmRNOEx9MWLRPK1O08gprI8TMl5q13YositPusvDg4DtBDHhmoXNc0sVikWYNo64frtSrd3/ei5lvC9/Ykec9k4W4JrEr6yj5AfPJIHzu4ljpgFCJ4TeUnUgHdD2X/YrzBUifXhz4+RWdf3xNgkOTboRw0uHiNeJlpyCc= Received: by 10.54.41.75 with SMTP id o75mr62264wro; Thu, 15 Sep 2005 07:23:30 -0700 (PDT) Received: by 10.54.76.6 with HTTP; Thu, 15 Sep 2005 07:23:30 -0700 (PDT) Message-ID: <4e89b4260509150723434ac727@mail.gmail.com> Date: Thu, 15 Sep 2005 10:23:30 -0400 Reply-To: kingwez@gmail.com To: Michael Wallner Cc: internals@lists.php.net In-Reply-To: <3A.1A.41173.6EF79234@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3A.1A.41173.6EF79234@pb1.pair.com> Subject: Re: [PHP-DEV] ARG_INFO and by_ref for objects? From: kingwez@gmail.com (Wez Furlong) Only use references when you need to be able to overwrite the variable. --Wez. On 9/15/05, Michael Wallner wrote: > Hi, >=20 > as nobody was able to answer my question on IRC, > I just drop it here: >=20 > Is it useless (yet even counter-productive) to enable > pass_by_ref in an ARG_INFO section for a function or > method that expects an object? >=20 > By "counter-productive" I mean that I'd need to actually > pass an identifier for a variable. >=20 > Thanks, > -- > Michael - < mike(@)php.net > >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >