Re: Document call_time_pass_reference

From: Date: Wed, 04 Aug 2004 08:12:33 +0000
Subject: Re: Document call_time_pass_reference
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-11891@lists.php.net to get a copy of this message
On Wed, 4 Aug 2004, Jakub Vrana wrote: > Hello! > > I want to document, why call_time_pass_reference was deprecated by > establishing allow_call_time_pass_reference. I assume code cleanliness > or performance reasons but I want to document official reason. Erm, no. This is wrong :) allow_call_time_pass_reference just disables the warning for now. You should just not pass parameters as a reference but instead specify them as "reference parameter" in the function declaration. Why this is better (except from a cleanliness reason) I can't tell you. Derick

« previous php.internals (#11891) next »