vrana Wed Aug 4 08:32:48 2004 EDT
Modified files: /phpdoc/en/appendices ini.xml Log: Explain allow_call_time_pass_reference (bug #29018) http://cvs.php.net/diff.php/phpdoc/en/appendices/ini.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/appendices/ini.xml diff -u phpdoc/en/appendices/ini.xml:1.5 phpdoc/en/appendices/ini.xml:1.6 --- phpdoc/en/appendices/ini.xml:1.5 Wed Jul 21 05:40:08 2004 +++ phpdoc/en/appendices/ini.xml Wed Aug 4 08:32:46 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <appendix id="ini"> <title>List of core &php.ini; directives</title> @@ -184,6 +184,13 @@ 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). + </para> + <para> + Passing arguments by reference at function call time was deprecated for + code cleanliness reason. Function can modify its argument in + undocumented way if it didn't declared that the argument is passed by + reference. To prevent side-effects it's better to specify which + arguments are passed by reference in function declaration only. </para> <para> See also <link linkend="language.references">References Explained</link>.