24 August 2007

Deprecated php.ini directive

The directive allow_call_time_pass_reference is deprecated in PHP5, and will be turned off on our servers.

The setting is used to define whether or not to warn when arguments are passed by reference 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 are encouraged to make sure your scripts work properly with this directive turned off in order to ensure they will work with future versions of the language (you will receive a warning each time you use this feature).

0 comments: