[PHP-DOC] cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml
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.11Wed 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 @@ - + @@ -22,6 +22,13 @@ values array. These last two parameters must be passed by reference. + + + xml_parse_into_struct returns 0 for + failure and 1 for success. This is not the same as &false; + and &true;, be careful with operators such as ===. + + Below is an example that illustrates the internal structure of the arrays being generated by the function. We use a simple
[PHP-DOC] cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml
didou Wed Jul 16 13:24:47 2003 EDT Modified files: /phpdoc/en/reference/xml/functions xml-parse-into-struct.xml Log: structure Index: phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml diff -u phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.4 phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.5 --- phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.4 Fri Jan 3 15:53:01 2003 +++ phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml Wed Jul 16 13:24:47 2003 @@ -1,5 +1,5 @@ - + @@ -31,6 +31,7 @@ - - When we run that code, the output will be: - + + When we run that code, the output will be: +
[PHP-DOC] cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml
nicos Fri Jan 3 15:53:01 2003 EDT Modified files: /phpdoc/en/reference/xml/functions xml-parse-into-struct.xml Log: 4th argument of xml-parse-into-struct is optional (0 by default). Index: phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml diff -u phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.3 phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.4 --- phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.3 Fri Apr 19 07:11:21 2002 +++ phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml Fri Jan 3 15:53:01 +2003 @@ -1,5 +1,5 @@ - + @@ -13,7 +13,7 @@ resourceparser stringdata array&values - array&index + array&index This function parses an XML file into 2 parallel array -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php