On Wed, 20 Jul 2005, Jason Wong wrote:
On Wednesday 20 July 2005 07:32, Marc G. Fournier wrote:
Which is? If its:
Yep.
; at function call time. This method is deprecated and is likely to be
; unsupported in future versions of PHP/Zend. The encouraged method of
; specifying which arguments should be passed by reference is in the
function ; declaration. You're encouraged to try and turn this option
Off and make ; sure your scripts work properly with it in order to
ensure they will work ; with future versions of the language (you will
receive a warning each time ; you use this feature, and the argument
will be passed by value instead of by ; reference).
allow_call_time_pass_reference = On
The pass by reference thing works regardless of the above setting.
Enabling the setting disables the warnings and vice-versa.
It already is ...
Are you sure that:
1) you're looking at the correct php.ini
2) the setting is not being changed elsewhere
Yup ... actually checked the output of phpinfo() too, just to double check
that :(
If the warning annoys you just tone down the error reporting level.
Ah, hadn't though tof that ... thanks ...
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@xxxxxxx Yahoo!: yscrappy ICQ: 7615664
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php