cvs: phpdoc /en/functions var.xml
| From: | Zak Greant | Date: | Mon, 31 Dec 2001 19:01:53 +0000 |
| Subject: | cvs: phpdoc /en/functions var.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969340556@lists.php.net to get a copy of this message | ||
zak Mon Dec 31 14:01:53 2001 EDT
Modified files:
/phpdoc/en/functions var.xml
Log:
print_r() now handles recursive arrays and objects correctly - removing warning
Index: phpdoc/en/functions/var.xml
diff -u phpdoc/en/functions/var.xml:1.87 phpdoc/en/functions/var.xml:1.88
--- phpdoc/en/functions/var.xml:1.87 Fri Dec 21 08:39:56 2001
+++ phpdoc/en/functions/var.xml Mon Dec 31 14:01:52 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.87 $ -->
+<!-- $Revision: 1.88 $ -->
<reference id="ref.variables">
<title>Variable Functions</title>
<titleabbrev>Variables</titleabbrev>
@@ -927,18 +927,6 @@
</programlisting>
</informalexample>
</para>
- <warning>
- <para>
- This function will continue forever if given an <type>array</type>
- or <type>object</type>
- that contains a direct or indirect reference to itself or that
- contains an <type>array</type> or <type>object</type> on a deeper
- level that does so.
- This is especially &true; for <literal>print_r($GLOBALS)</literal>,
- as <literal>$GLOBALS</literal> is itself a global variable and
- contains a reference to itself as such.
- </para>
- </warning>
</refsect1>
</refentry>