Re: ARG_INFO and by_ref for objects?

From: Date: Thu, 15 Sep 2005 14:23:30 +0000
Subject: Re: ARG_INFO and by_ref for objects?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-18986@lists.php.net to get a copy of this message
Only use references when you need to be able to overwrite the variable. --Wez. On 9/15/05, Michael Wallner <mike@php.net> wrote: > Hi, > > as nobody was able to answer my question on IRC, > I just drop it here: > > 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? > > By "counter-productive" I mean that I'd need to actually > pass an identifier for a variable. > > Thanks, > -- > Michael - < mike(@)php.net > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#18986) next »