svn: /phpdoc/en/trunk/faq/ using.xml
| From: | Thomas Punt | Date: | Mon, 21 Dec 2015 14:42:19 +0000 |
| Subject: | svn: /phpdoc/en/trunk/faq/ using.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13929@lists.php.net to get a copy of this message | ||
tpunt Mon, 21 Dec 2015 14:42:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338336
Log:
Resolve doc bug #68292
Bug: https://bugs.php.net/68292 (Verified) shorthand
notation can be used in ini_set
Changed paths:
U phpdoc/en/trunk/faq/using.xml
Modified: phpdoc/en/trunk/faq/using.xml
===================================================================
--- phpdoc/en/trunk/faq/using.xml 2015-12-21 13:57:57 UTC (rev 338335)
+++ phpdoc/en/trunk/faq/using.xml 2015-12-21 14:42:19 UTC (rev 338336)
@@ -451,20 +451,17 @@
<para>
A few PHP directives may also take on shorthand byte values, as opposed
to only <type>integer</type> byte values. What are all the available
- shorthand byte options? And can I use these outside of &php.ini;?
+ shorthand byte options?
</para>
</question>
<answer>
<para>
The available options are K (for Kilobytes), M (for Megabytes) and G (for
- Gigabytes; available since PHP 5.1.0), these are case insensitive.
- Anything else assumes bytes.
- <literal>1M</literal> equals one Megabyte or
<literal>1048576</literal>
- bytes. <literal>1K</literal> equals one Kilobyte or
- <literal>1024</literal> bytes. You may not use these shorthand
- notations outside of &php.ini;, instead use an <type>integer</type>
- value of bytes. See the <function>ini_get</function> documentation for
- an example on how to convert these values.
+ Gigabytes; available since PHP 5.1.0), and are all case-insensitive.
+ Anything else assumes bytes. <literal>1M</literal> equals one Megabyte or
+ <literal>1048576</literal> bytes. <literal>1K</literal> equals one
+ Kilobyte or <literal>1024</literal> bytes. These shorthand notations may
+ be used in &php.ini; and in the <function>ini_set</function> function.
</para>
<note>
<title>kilobyte versus kibibyte</title>