svn: /phpdoc/en/trunk/reference/yaml/functions/ yaml-parse-file.xml yaml-parse-url.xml yaml-parse.xml

From: Date: Wed, 07 Dec 2011 04:56:08 +0000
Subject: svn: /phpdoc/en/trunk/reference/yaml/functions/ yaml-parse-file.xml yaml-parse-url.xml yaml-parse.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9176@lists.php.net to get a copy of this message
frozenfire Wed, 07 Dec 2011 04:56:08 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320555 Log: Clarified that parse functions return false for failure. Closes bug #55142. Bug: https://bugs.php.net/55142 (Open) Incorrect return type stated for yaml_parse() when unable to parse input. Changed paths: U phpdoc/en/trunk/reference/yaml/functions/yaml-parse-file.xml U phpdoc/en/trunk/reference/yaml/functions/yaml-parse-url.xml U phpdoc/en/trunk/reference/yaml/functions/yaml-parse.xml Modified: phpdoc/en/trunk/reference/yaml/functions/yaml-parse-file.xml =================================================================== --- phpdoc/en/trunk/reference/yaml/functions/yaml-parse-file.xml 2011-12-07 04:43:04 UTC (rev 320554) +++ phpdoc/en/trunk/reference/yaml/functions/yaml-parse-file.xml 2011-12-07 04:56:08 UTC (rev 320555) @@ -68,8 +68,7 @@ &reftitle.returnvalues; <para> Returns the value encoded in <parameter>input</parameter> in appropriate - PHP type. &null; is returned if the <parameter>input</parameter> cannot be - decoded. If <parameter>pos</parameter> is <literal>-1</literal> an + PHP type&return.falseforfailure;. If <parameter>pos</parameter> is <literal>-1</literal> an <type>array</type> will be returned with one entry for each document found in the stream. </para> Modified: phpdoc/en/trunk/reference/yaml/functions/yaml-parse-url.xml =================================================================== --- phpdoc/en/trunk/reference/yaml/functions/yaml-parse-url.xml 2011-12-07 04:43:04 UTC (rev 320554) +++ phpdoc/en/trunk/reference/yaml/functions/yaml-parse-url.xml 2011-12-07 04:56:08 UTC (rev 320555) @@ -72,8 +72,7 @@ &reftitle.returnvalues; <para> Returns the value encoded in <parameter>input</parameter> in appropriate - PHP type. &null; is returned if the <parameter>input</parameter> cannot be - decoded. If <parameter>pos</parameter> is <literal>-1</literal> an + PHP type&return.falseforfailure;. If <parameter>pos</parameter> is <literal>-1</literal> an <type>array</type> will be returned with one entry for each document found in the stream. </para> Modified: phpdoc/en/trunk/reference/yaml/functions/yaml-parse.xml =================================================================== --- phpdoc/en/trunk/reference/yaml/functions/yaml-parse.xml 2011-12-07 04:43:04 UTC (rev 320554) +++ phpdoc/en/trunk/reference/yaml/functions/yaml-parse.xml 2011-12-07 04:56:08 UTC (rev 320555) @@ -68,8 +68,7 @@ &reftitle.returnvalues; <para> Returns the value encoded in <parameter>input</parameter> in appropriate - PHP type. &null; is returned if the <parameter>input</parameter> cannot be - decoded. If <parameter>pos</parameter> is <literal>-1</literal> an + PHP type&return.falseforfailure;. If <parameter>pos</parameter> is <literal>-1</literal> an <type>array</type> will be returned with one entry for each document found in the stream. </para>

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