vrana Mon Jul 26 11:16:26 2004 EDT
Modified files: /phpdoc/en/language references.xml Log: Arrays with references (bug #20993) http://cvs.php.net/diff.php/phpdoc/en/language/references.xml?r1=1.27&r2=1.28&ty=u Index: phpdoc/en/language/references.xml diff -u phpdoc/en/language/references.xml:1.27 phpdoc/en/language/references.xml:1.28 --- phpdoc/en/language/references.xml:1.27 Sun Dec 21 10:37:29 2003 +++ phpdoc/en/language/references.xml Mon Jul 26 11:16:26 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.27 $ --> +<!-- $Revision: 1.28 $ --> <chapter id="language.references"> <title>References Explained</title> @@ -43,6 +43,12 @@ </para> </note> </para> + <note> + <para> + If array with references is copied, its values are not dereferenced. + This is valid also for arrays passed by value to functions. + </para> + </note> <para> The same syntax can be used with functions, that return references, and with <literal>new</literal> operator (in PHP 4.0.4 and later):