cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml
| From: | Derek Ford | Date: | Thu, 12 May 2005 17:19:10 +0000 |
| Subject: | cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969368245@lists.php.net to get a copy of this message | ||
derek Thu May 12 13:19:10 2005 EDT
Modified files:
/phpdoc/en/reference/xml/functions xml-parse-into-struct.xml
Log:
Added explanation of return value
http://cvs.php.net/diff.php/phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml?r1=1.11&r2=1.12&ty=u
Index: phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml
diff -u phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.11
phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.12
--- phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.11 Wed Nov 10 03:30:48 2004
+++ phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml Thu May 12 13:19:06 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/xml.xml, last change in rev 1.11 -->
<refentry id="function.xml-parse-into-struct">
<refnamediv>
@@ -22,6 +22,13 @@
<parameter>values</parameter> array. These last two parameters
must be passed by reference.
</para>
+ <note>
+ <para>
+ <function>xml_parse_into_struct</function> returns 0 for
+ failure and 1 for success. This is not the same as &false;
+ and &true;, be careful with operators such as ===.
+ </para>
+ </note>
<para>
Below is an example that illustrates the internal structure of
the arrays being generated by the function. We use a simple