And so if allow_call_time_pass_reference = Off then an error
will be generated unlike in the following expression which will
not generate an error:
$foo = array( 1 => 'One', 2 => 'Two' );
$fee = &$foo[2];
If I am incorrect could someone point out the actual purpose
behind this variable. If I am right could someone indicate that
I am right :) Thanks for your time in advance.
You´re mixing up things here, "allow_call_time_pass_reference" is meant to allow that a reference is *passed* to a *function/method* (which is deprecated behaviour in php 4) rather then telling the function to treat a parameter as a reference
$fee = &$foo[2]; simply creates a reference, you should perhaps read the new section "references explained" in the manual
regards,
andré