svn: /phpdoc/en/trunk/reference/simplexml/functions/ simplexml-load-file.xml simplexml-load-string.xml

From: Date: Sun, 27 Nov 2011 03:29:58 +0000
Subject: svn: /phpdoc/en/trunk/reference/simplexml/functions/ simplexml-load-file.xml simplexml-load-string.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9085@lists.php.net to get a copy of this message
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>

« previous php.doc.cvs (#9085) next »