svn: /phpdoc/en/trunk/appendices/ ini.xml
| From: | Kalle Sommer Nielsen | Date: | Fri, 18 Dec 2009 06:04:11 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/ ini.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5679@lists.php.net to get a copy of this message | ||
kalle Fri, 18 Dec 2009 06:04:11 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292279
Log:
Fixed bug #47121 (Cannot suppress warnings for "Call-time pass by reference is
deprecated")
Bug: http://bugs.php.net/47121 (To be documented) Cannot
suppress warnings for "Call-time pass by reference is deprecated"
Changed paths:
U phpdoc/en/trunk/appendices/ini.xml
Modified: phpdoc/en/trunk/appendices/ini.xml
===================================================================
--- phpdoc/en/trunk/appendices/ini.xml 2009-12-18 01:07:29 UTC (rev 292278)
+++ phpdoc/en/trunk/appendices/ini.xml 2009-12-18 06:04:11 UTC (rev 292279)
@@ -3841,14 +3841,12 @@
</term>
<listitem>
<para>
- Whether to warn when arguments are passed by reference
- at function call time. This method is deprecated in PHP 5.3.0 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).
+ Whether to warn when arguments are passed by reference at function call time.
+ 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).
</para>
<para>
Passing arguments by reference at function call time was deprecated for
@@ -3858,6 +3856,12 @@
arguments are passed by reference in function declaration only.
</para>
<para>
+ In PHP5, <literal>allow_call_time_pass_reference</literal> is deprecated, in
+ versions prior to PHP 5.3.0, use of this feature will emit an
+ <constant>E_COMPILE_WARNING</constant>, and in PHP 5.3.0+, the warning is a
+ <constant>E_DEPRECATED</constant> notice. This directive is removed as of PHP6.
+ </para>
+ <para>
See also <link linkend="language.references">References
Explained</link>.
</para>
</listitem>