cvs: phpdoc /en/language/types array.xml

From: Date: Wed, 05 Nov 2008 10:53:52 +0000
Subject: cvs: phpdoc /en/language/types array.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2401@lists.php.net to get a copy of this message
vrana Wed Nov 5 10:53:52 2008 UTC Modified files: /phpdoc/en/language/types array.xml Log: Copying an array may not lead to pointer reset (bug #45369) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types/array.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/language/types/array.xml diff -u phpdoc/en/language/types/array.xml:1.5 phpdoc/en/language/types/array.xml:1.6 --- phpdoc/en/language/types/array.xml:1.5 Wed Nov 5 06:16:51 2008 +++ phpdoc/en/language/types/array.xml Wed Nov 5 10:53:52 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <sect1 xml:id="language.types.array"> <title>Arrays</title> @@ -840,9 +840,7 @@ </example> <para> - <type>Array</type> assignment always involves value copying. It also means - that the internal <type>array</type> pointer used by - <function>current</function> and similar functions is reset. Use the + <type>Array</type> assignment always involves value copying. Use the <link linkend="language.operators">reference operator</link> to copy an <type>array</type> by reference. </para>

« previous php.doc.cvs (#2401) next »