Re: call-time pass-by-reference feature really deprecated?

From: Date: Thu, 19 Jun 2003 16:58:15 +0000
Subject: Re: call-time pass-by-reference feature really deprecated?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152185@lists.php.net to get a copy of this message
On Thursday 19 June 2003 23:53, dorgon wrote: > I just got a warning message on a system using php version 4.3.1: > > <snip> > Warning: Call-time pass-by-reference has been deprecated - argument > passed by value; If you would like to pass it by reference, modify the > declaration of [runtime function name](). If you would like to enable > call-time pass-by-reference, you can set allow_call_time_pass_reference > to true in your INI file. However, future versions may not support this > any longer. > </snip> > > This msg does not appear on my machine running php 4.3.2. Maybe it's > because of the different configuration? Maybe, there's a setting for this in php.ini. > Will the pass-by-reference feature really be dropped?! Many software > design patterns wouldn't be possible anymore! It's an essential feature. "pass-by-reference" has not been dropped, it is "Call-time pass-by-reference" which is being deprecated. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* GIVE: Support the helpless victims of computer error. */

« previous php.general (#152185) next »