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

From: Date: Sun, 10 Jul 2016 13:57:14 +0000
Subject: svn: /phpdoc/en/trunk/reference/yaml/functions/ yaml-emit-file.xml yaml-emit.xml yaml-parse-file.xml yaml-parse-url.xml yaml-parse.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14325@lists.php.net to get a copy of this message
cmb Sun, 10 Jul 2016 13:57:14 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339639 Log: Document default values of optional parameters Provided by Brian Davis Changed paths: U phpdoc/en/trunk/reference/yaml/functions/yaml-emit-file.xml U phpdoc/en/trunk/reference/yaml/functions/yaml-emit.xml 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-emit-file.xml =================================================================== --- phpdoc/en/trunk/reference/yaml/functions/yaml-emit-file.xml 2016-07-10 13:52:30 UTC (rev 339638) +++ phpdoc/en/trunk/reference/yaml/functions/yaml-emit-file.xml 2016-07-10 13:57:14 UTC (rev 339639) @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer>YAML_ANY_ENCODING</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter>linebreak</parameter><initializer>YAML_ANY_BREAK</initializer></methodparam> - <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter><initializer>null</initializer></methodparam> </methodsynopsis> <para> Generate a YAML representation of the provided <parameter>data</parameter> Modified: phpdoc/en/trunk/reference/yaml/functions/yaml-emit.xml =================================================================== --- phpdoc/en/trunk/reference/yaml/functions/yaml-emit.xml 2016-07-10 13:52:30 UTC (rev 339638) +++ phpdoc/en/trunk/reference/yaml/functions/yaml-emit.xml 2016-07-10 13:57:14 UTC (rev 339639) @@ -14,7 +14,7 @@ <methodparam><type>mixed</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer>YAML_ANY_ENCODING</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter>linebreak</parameter><initializer>YAML_ANY_BREAK</initializer></methodparam> - <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter><initializer>null</initializer></methodparam> </methodsynopsis> <para> Generate a YAML representation of the provided <parameter>data</parameter>. Modified: phpdoc/en/trunk/reference/yaml/functions/yaml-parse-file.xml =================================================================== --- phpdoc/en/trunk/reference/yaml/functions/yaml-parse-file.xml 2016-07-10 13:52:30 UTC (rev 339638) +++ phpdoc/en/trunk/reference/yaml/functions/yaml-parse-file.xml 2016-07-10 13:57:14 UTC (rev 339639) @@ -14,7 +14,7 @@ <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>pos</parameter><initializer>0</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter role="reference">ndocs</parameter></methodparam> - <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter><initializer>null</initializer></methodparam> </methodsynopsis> <para> Convert all or part of a YAML document stream read from a file to a PHP variable. Modified: phpdoc/en/trunk/reference/yaml/functions/yaml-parse-url.xml =================================================================== --- phpdoc/en/trunk/reference/yaml/functions/yaml-parse-url.xml 2016-07-10 13:52:30 UTC (rev 339638) +++ phpdoc/en/trunk/reference/yaml/functions/yaml-parse-url.xml 2016-07-10 13:57:14 UTC (rev 339639) @@ -14,7 +14,7 @@ <methodparam><type>string</type><parameter>url</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>pos</parameter><initializer>0</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter role="reference">ndocs</parameter></methodparam> - <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter><initializer>null</initializer></methodparam> </methodsynopsis> <para> Convert all or part of a YAML document stream read from a URL to a PHP variable. Modified: phpdoc/en/trunk/reference/yaml/functions/yaml-parse.xml =================================================================== --- phpdoc/en/trunk/reference/yaml/functions/yaml-parse.xml 2016-07-10 13:52:30 UTC (rev 339638) +++ phpdoc/en/trunk/reference/yaml/functions/yaml-parse.xml 2016-07-10 13:57:14 UTC (rev 339639) @@ -14,7 +14,7 @@ <methodparam><type>string</type><parameter>input</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>pos</parameter><initializer>0</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter role="reference">ndocs</parameter></methodparam> - <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>callbacks</parameter><initializer>null</initializer></methodparam> </methodsynopsis> <para> Convert all or part of a YAML document stream to a PHP variable.

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