colder          Sat Feb 24 20:14:49 2007 UTC

  Modified files:              
    /phpdoc/en/language references.xml 
  Log:
  Remove bogous warning
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/references.xml?r1=1.47&r2=1.48&diff_format=u
Index: phpdoc/en/language/references.xml
diff -u phpdoc/en/language/references.xml:1.47 
phpdoc/en/language/references.xml:1.48
--- phpdoc/en/language/references.xml:1.47      Sat Feb 24 11:19:24 2007
+++ phpdoc/en/language/references.xml   Sat Feb 24 20:14:49 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.47 $ -->
+<!-- $Revision: 1.48 $ -->
  <chapter id="language.references">
   <title>References Explained</title>
 
@@ -168,32 +168,6 @@
      </example>
     </para>
    </note>
-   <warning>
-    <para>
-     Complex arrays are sometimes rather copied than referenced. Thus following
-     example will not work as expected.
-     <example>
-      <title>References with complex arrays</title>
-      <programlisting role="php">
-<![CDATA[
-<?php
-$top = array(
-    'A' => array(),
-    'B' => array(
-        'B_b' => array(),
-    ),
-);
-
-$top['A']['parent'] = &$top;
-$top['B']['parent'] = &$top;
-$top['B']['B_b']['data'] = 'test';
-print_r($top['A']['parent']['B']['B_b']); // array()
-?>
-]]>
-      </programlisting>
-     </example>
-    </para>
-   </warning>
    <para>
     The second thing references do is to pass variables
     by-reference. This is done by making a local variable in a function and

Reply via email to