ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] cvs: phpdoc /en/reference/var/functions var-export.xml
by Derick Rethans other posts by this author
Nov 24 2006 1:32AM messages near this date
[PHP-DOC] #39627 [Opn->Bgs]: .chm EN file compilation error | [PHP-DOC] cvs: phpdoc /en/reference/uodbc/functions odbc-next-result.xml
derick		Fri Nov 24 09:31:08 2006 UTC

  Modified files:              
    /phpdoc/en/reference/var/functions	var-export.xml 
  Log:
  - Clarify var_export and circular references.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/var-export.xml?r1=1.13&r2=1.
14&diff_format=u
Index: phpdoc/en/reference/var/functions/var-export.xml
diff -u phpdoc/en/reference/var/functions/var-export.xml:1.13 phpdoc/en/reference/var/functi
ons/var-export.xml:1.14
--- phpdoc/en/reference/var/functions/var-export.xml:1.13	Fri Mar 10 03:45:54 2006
+++ phpdoc/en/reference/var/functions/var-export.xml	Fri Nov 24 09:31:08 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?> 
-<!-- $Revision: 1.13 $ --> 
+<!-- $Revision: 1.14 $ --> 
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.6 --> 
 <refentry id="function.var-export"> 
  <refnamediv> 
@@ -207,14 +207,23 @@
     function.
    </para> 
   </note> 
+  <note> 
+   <para> 
+    <function> var_export</function> does not handle circular references as
+    it would be close to impossible to generate parsable PHP code for that.
+    If you want to do something with the full representation of an array
+    or object, use <function> serialize</function>.
+   </para> 
+  </note> 
  </refsect1> 
 
  <refsect1 role="seealso"> 
   &reftitle.seealso;
   <para> 
    <simplelist> 
-    <member> <function>var_dump</function></member>
     <member> <function>print_r</function></member>
+    <member> <function>serialize</function></member>
+    <member> <function>var_dump</function></member>
    </simplelist> 
   </para>   
  </refsect1> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved