Re: [PHP-DEV] Document call_time_pass_reference

2004-08-05 Thread Jakub Vrana
l0t3k wrote: > in other (compiled) programming languages, a function prototype specifies > the "contract" between the function and its callers, and > makes explicit the programmer's intentions as to how the function is to be > called. Usually expected parameter types and passing methods specified b

Re: [PHP-DEV] Document call_time_pass_reference

2004-08-04 Thread l0t3k
"Jakub Vrana" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >>This is what I need to know :-). In php.ini-recommended there is only >>[Code cleanliness] reason. in other (compiled) programming languages, a function prototype specifies the "contract" between the function and its call

Re: [PHP-DEV] Document call_time_pass_reference

2004-08-04 Thread Jakub Vrana
Derick Rethans wrote: > 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. I know this. > Why this is better (except fro

Re: [PHP-DEV] Document call_time_pass_reference

2004-08-04 Thread Derick Rethans
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_tim

[PHP-DEV] Document call_time_pass_reference

2004-08-04 Thread Jakub Vrana
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. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visi