[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/simplexml/functions/_simplexml-load-file.xml_sim
From: Justin_Martin <frozenfire () php ! net>
Date: 2011-11-27 3:29:58
Message-ID: svn-frozenfire-1322364598-319987-1970447064 () svn ! php ! net
[Download RAW message or body]
frozenfire Sun, 27 Nov 2011 03:29:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319987
Log:
Changed return type to SimpleXMLElement, for the purpose of simplification. Closes \
bug #60382. Also changed returns to use proper 'or false on failure' entity.
Bug: https://bugs.php.net/60382 (Open) Documented return value for SimpleXML too \
generic
Changed paths:
U phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-file.xml
U phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-string.xml
Modified: phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-file.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-file.xml 2011-11-27 \
03:26:31 UTC (rev 319986)
+++ phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-file.xml 2011-11-27 \
03:29:58 UTC (rev 319987) @@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>object</type><methodname>simplexml_load_file</methodname>
+ <type>SimpleXMLElement</type><methodname>simplexml_load_file</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>class_name</parameter><initializer>"SimpleXMLElement"</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
@@ -87,8 +87,7 @@
&reftitle.returnvalues;
<para>
Returns an <type>object</type> of class <type>SimpleXMLElement</type> with
- properties containing the data held within the XML document. On errors, it
- will return &false;.
+ properties containing the data held within the XML \
document,&return.falseforfailure;. </para>
</refsect1>
Modified: phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-string.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-string.xml 2011-11-27 \
03:26:31 UTC (rev 319986)
+++ phpdoc/en/trunk/reference/simplexml/functions/simplexml-load-string.xml 2011-11-27 \
03:29:58 UTC (rev 319987) @@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>object</type><methodname>simplexml_load_string</methodname>
+ <type>SimpleXMLElement</type><methodname>simplexml_load_string</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>class_name</parameter><initializer>"SimpleXMLElement"</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
@@ -77,8 +77,7 @@
&reftitle.returnvalues;
<para>
Returns an <type>object</type> of class <type>SimpleXMLElement</type> with
- properties containing the data held within the xml document. On errors, it
- will return &false;.
+ properties containing the data held within the xml \
document,&return.falseforfailure;. </para>
</refsect1>
--
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