cvs: phpdoc /en/language references.xml

From: Date: Mon, 25 Jul 2005 13:00:06 +0000
Subject: cvs: phpdoc /en/language references.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369335@lists.php.net to get a copy of this message
vrana Mon Jul 25 09:00:06 2005 EDT Modified files: /phpdoc/en/language references.xml Log: E_NOTICE is issued with returning non-references in new versions http://cvs.php.net/diff.php/phpdoc/en/language/references.xml?r1=1.43&r2=1.44&ty=u Index: phpdoc/en/language/references.xml diff -u phpdoc/en/language/references.xml:1.43 phpdoc/en/language/references.xml:1.44 --- phpdoc/en/language/references.xml:1.43 Thu Jul 14 05:16:30 2005 +++ phpdoc/en/language/references.xml Mon Jul 25 09:00:01 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.43 $ --> +<!-- $Revision: 1.44 $ --> <chapter id="language.references"> <title>References Explained</title> @@ -364,6 +364,9 @@ work as you are attempting to return the result of an <emphasis>expression</emphasis>, and not a variable, by reference. You can only return variables by reference from a function - nothing else. + <constant>E_NOTICE</constant> error is issued since PHP 4.4.0 and PHP + 5.1.0 if the code tries to return a dynamic expression or a result of the + <literal>new</literal> operator. </simpara> </note> </sect1>

« previous php.doc (#969369335) next »