[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/var/functions/_serialize.xml_var-export.xml?=
From: Joe_Watkins <krakjoe () php ! net>
Date: 2013-10-25 15:22:05
Message-ID: svn-krakjoe-1382714525-331965-253648827 () svn ! php ! net
[Download RAW message or body]
krakjoe Fri, 25 Oct 2013 15:22:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=331965
Log:
#64554 attach warning to var_export and serialize regarding the handling of objects \
of a namespaced class.
Bug: https://bugs.php.net/64554 (Open) var_export does not export absolute namespace \
for classname
Changed paths:
U phpdoc/en/trunk/reference/var/functions/serialize.xml
U phpdoc/en/trunk/reference/var/functions/var-export.xml
Modified: phpdoc/en/trunk/reference/var/functions/serialize.xml
===================================================================
--- phpdoc/en/trunk/reference/var/functions/serialize.xml 2013-10-25 14:56:58 UTC \
(rev 331964)
+++ phpdoc/en/trunk/reference/var/functions/serialize.xml 2013-10-25 15:22:05 UTC \
(rev 331965) @@ -145,6 +145,11 @@
the <classname>ArrayObject</classname> prior to PHP 5.2.0.
</para>
</note>
+ <warning>
+ <para>
+ When <function>serialize</function> serializes objects, the leading slash is not \
included in the class name of namespaced classes for maximum compatibility. + \
</para> + </warning>
</refsect1>
<refsect1 role="seealso">
Modified: phpdoc/en/trunk/reference/var/functions/var-export.xml
===================================================================
--- phpdoc/en/trunk/reference/var/functions/var-export.xml 2013-10-25 14:56:58 UTC \
(rev 331964)
+++ phpdoc/en/trunk/reference/var/functions/var-export.xml 2013-10-25 15:22:05 UTC \
(rev 331965) @@ -219,6 +219,11 @@
or object, use <function>serialize</function>.
</para>
</note>
+ <warning>
+ <para>
+ When <function>var_export</function> exports objects, the leading slash is not \
included in the class name of namespaced classes for maximum compatibility. + \
</para> + </warning>
</refsect1>
<refsect1 role="seealso">
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic