[PHP-DOC] cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml

2005-05-12 Thread Derek Ford
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.11r2=1.12ty=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 @@
 ?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 @@
  parametervalues/parameter array. These last two parameters
  must be passed by reference.
 /para
+note
+ para
+  functionxml_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


[PHP-DOC] cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml

2003-07-16 Thread Mehdi Achour
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 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/xml.xml, last change in rev 1.11 --
   refentry id=function.xml-parse-into-struct
refnamediv
@@ -31,6 +31,7 @@
  informalexample
   programlisting role=php
 ![CDATA[
+?php
 $simple = paranotesimple note/note/para;
 $p = xml_parser_create();
 xml_parse_into_struct($p,$simple,$vals,$index);
@@ -39,11 +40,12 @@
 print_r($index);
 echo \nVals array\n;
 print_r($vals);
+?
 ]]
   /programlisting
- /informalexample
- When we run that code, the output will be:
- informalexample
+  para
+   When we run that code, the output will be:
+  /para
   screen
 ![CDATA[
 Index array



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/xml/functions xml-parse-into-struct.xml

2003-01-03 Thread CHAILLAN Nicolas
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 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/xml.xml, last change in rev 1.11 --
   refentry id=function.xml-parse-into-struct
refnamediv
@@ -13,7 +13,7 @@
  methodparamtyperesource/typeparameterparser/parameter/methodparam
  methodparamtypestring/typeparameterdata/parameter/methodparam
  methodparamtypearray/typeparameteramp;values/parameter/methodparam
- methodparamtypearray/typeparameteramp;index/parameter/methodparam
+ methodparam 
+choice=opttypearray/typeparameteramp;index/parameter/methodparam
 /methodsynopsis
 para
  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