Re: Patch - roblem with a manual build
| From: | Maciej Sobaczewski | Date: | Mon, 15 Jun 2015 13:00:07 +0000 |
| Subject: | Re: Patch - roblem with a manual build | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969385762@lists.php.net to get a copy of this message | ||
> Did you forget to attach...?
>
>
> IIRC, non .txt files get stripped from the list. Maciej might need to
> change the patch file name appropriately.
>
Heh, I even changed the extension due to this limitation and then simply
forgot to attatch :/ Sorry.
Maciej.
Index: language-snippets.ent =================================================================== --- language-snippets.ent (revision 336958) +++ language-snippets.ent (working copy) @@ -741,6 +741,15 @@ are larger than 2GB. </simpara></note>'> +<!ENTITY ini.scanner.typed '<para xmlns="http://docbook.org/ns/docbook"> + As of PHP 5.6.1 can also be specified as <constant>INI_SCANNER_TYPED</constant>. + In this mode boolean, null and integer types are preserved when possible. + String values <literal>"true"</literal>, <literal>"on"</literal> and <literal>"yes"</literal> + are converted to &true;. <literal>"false"</literal>, <literal>"off"</literal>, <literal>"no"</literal> + and <literal>"none"</literal> are considered &false;. <literal>"null"</literal> is converted to &null; + in typed mode. Also, all numeric strings are converted to integer type if it is possible. + </para>'> + <!-- GNUPG --> <!ENTITY gnupg.identifier '<para xmlns="http://docbook.org/ns/docbook">The gnupg identifier, from a call to <function>gnupg_init</function> or <classname>gnupg</classname>.</para>'> Index: reference/filesystem/functions/parse-ini-file.xml =================================================================== --- reference/filesystem/functions/parse-ini-file.xml (revision 336958) +++ reference/filesystem/functions/parse-ini-file.xml (working copy) @@ -55,6 +55,7 @@ <constant>INI_SCANNER_RAW</constant>. If <constant>INI_SCANNER_RAW</constant> is supplied, then option values will not be parsed. </para> + &ini.scanner.typed; </listitem> </varlistentry> </variablelist> @@ -83,6 +84,12 @@ </thead> <tbody> <row> + <entry>7.0.0</entry> + <entry> + Added new <constant>INI_SCANNER_TYPED</constant> mode. + </entry> + </row> + <row> <entry>5.3.0</entry> <entry> Added optional <parameter>scanner_mode</parameter> parameter. @@ -301,8 +308,8 @@ <simpara> There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, false, on, off, none. - Values null, off, no and false result in "". - Values on, yes and true result in "1". + Values null, off, no and false result in "", and values on, yes and true result + in "1", unless <constant>INI_SCANNER_TYPED</constant> mode is used (as of PHP 5.6.1). Characters <literal>?{}|&~!()^"</literal> must not be used anywhere in the key and have a special meaning in the value. </simpara> Index: reference/filesystem/functions/parse-ini-string.xml =================================================================== --- reference/filesystem/functions/parse-ini-string.xml (revision 336958) +++ reference/filesystem/functions/parse-ini-string.xml (working copy) @@ -54,6 +54,7 @@ <constant>INI_SCANNER_RAW</constant>. If <constant>INI_SCANNER_RAW</constant> is supplied, then option values will not be parsed. </para> + &ini.scanner.typed; </listitem> </varlistentry> </variablelist> @@ -74,8 +75,8 @@ <simpara> There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, false, on, off, none. - Values null, off, no and false result in "". - Values on, yes and true result in "1". + Values null, off, no and false result in "", and values on, yes and true result + in "1", unless <constant>INI_SCANNER_TYPED</constant> mode is used. Characters <literal>?{}|&~![()^"</literal> must not be used anywhere in the key and have a special meaning in the value. </simpara>
Index: language-snippets.ent =================================================================== --- language-snippets.ent (revision 336958) +++ language-snippets.ent (working copy) @@ -741,6 +741,15 @@ are larger than 2GB. </simpara></note>'> +<!ENTITY ini.scanner.typed '<para xmlns="http://docbook.org/ns/docbook"> + As of PHP 5.6.1 can also be specified as <constant>INI_SCANNER_TYPED</constant>. + In this mode boolean, null and integer types are preserved when possible. + String values <literal>"true"</literal>, <literal>"on"</literal> and <literal>"yes"</literal> + are converted to &true;. <literal>"false"</literal>, <literal>"off"</literal>, <literal>"no"</literal> + and <literal>"none"</literal> are considered &false;. <literal>"null"</literal> is converted to &null; + in typed mode. Also, all numeric strings are converted to integer type if it is possible. + </para>'> + <!-- GNUPG --> <!ENTITY gnupg.identifier '<para xmlns="http://docbook.org/ns/docbook">The gnupg identifier, from a call to <function>gnupg_init</function> or <classname>gnupg</classname>.</para>'> Index: reference/filesystem/functions/parse-ini-file.xml =================================================================== --- reference/filesystem/functions/parse-ini-file.xml (revision 336958) +++ reference/filesystem/functions/parse-ini-file.xml (working copy) @@ -55,6 +55,7 @@ <constant>INI_SCANNER_RAW</constant>. If <constant>INI_SCANNER_RAW</constant> is supplied, then option values will not be parsed. </para> + &ini.scanner.typed; </listitem> </varlistentry> </variablelist> @@ -83,6 +84,12 @@ </thead> <tbody> <row> + <entry>7.0.0</entry> + <entry> + Added new <constant>INI_SCANNER_TYPED</constant> mode. + </entry> + </row> + <row> <entry>5.3.0</entry> <entry> Added optional <parameter>scanner_mode</parameter> parameter. @@ -301,8 +308,8 @@ <simpara> There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, false, on, off, none. - Values null, off, no and false result in "". - Values on, yes and true result in "1". + Values null, off, no and false result in "", and values on, yes and true result + in "1", unless <constant>INI_SCANNER_TYPED</constant> mode is used (as of PHP 5.6.1). Characters <literal>?{}|&~!()^"</literal> must not be used anywhere in the key and have a special meaning in the value. </simpara> Index: reference/filesystem/functions/parse-ini-string.xml =================================================================== --- reference/filesystem/functions/parse-ini-string.xml (revision 336958) +++ reference/filesystem/functions/parse-ini-string.xml (working copy) @@ -54,6 +54,7 @@ <constant>INI_SCANNER_RAW</constant>. If <constant>INI_SCANNER_RAW</constant> is supplied, then option values will not be parsed. </para> + &ini.scanner.typed; </listitem> </varlistentry> </variablelist> @@ -74,8 +75,8 @@ <simpara> There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, false, on, off, none. - Values null, off, no and false result in "". - Values on, yes and true result in "1". + Values null, off, no and false result in "", and values on, yes and true result + in "1", unless <constant>INI_SCANNER_TYPED</constant> mode is used. Characters <literal>?{}|&~![()^"</literal> must not be used anywhere in the key and have a special meaning in the value. </simpara>