vrana           Mon Jan 30 15:05:09 2006 UTC

  Modified files:              
    /phpdoc/en/language types.xml 
  Log:
  Assigning array resets the pointer (bug #36154)
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/types.xml?r1=1.157&r2=1.158&diff_format=u
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.157 phpdoc/en/language/types.xml:1.158
--- phpdoc/en/language/types.xml:1.157  Thu Dec  8 09:30:43 2005
+++ phpdoc/en/language/types.xml        Mon Jan 30 15:05:09 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.157 $ -->
+<!-- $Revision: 1.158 $ -->
  <chapter id="language.types">
   <title>Types</title>
 
@@ -2062,7 +2062,9 @@
     </example>
     <para>
      You should be aware that array assignment always involves
-     value copying. You need to use the reference operator to copy
+     value copying. It also means that the internal array pointer used by
+     <function>current</function> and similar functions is reset.
+     You need to use the reference operator to copy
      an array by reference.
      <informalexample>
       <programlisting role="php">

Reply via email to