Implemented &ini.shorthandbytes; so people can understand how directives use this shorthand notation.

This also closes bug #22158


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165348 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2004-08-05 04:53:24 +00:00
parent 9ce5713d6c
commit 13895f71ea
4 changed files with 24 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<appendix id="ini">
<title>List of core &php.ini; directives</title>
@ -276,6 +276,9 @@
As of PHP 4.3.2, and when memory_limit is enabled, the PHP function
<function>memory_get_usage</function> is made available.
</para>
&ini.shorthandbytes;
</listitem>
</varlistentry>
</variablelist>
@ -554,6 +557,9 @@
<link linkend="ini.memory-limit">memory_limit</link> should be
larger than <parameter>post_max_size</parameter>.
</simpara>
&ini.shorthandbytes;
</listitem>
</varlistentry>
@ -1002,6 +1008,9 @@ include_path=".;c:\php\includes"
<link linkend="ini.upload-tmp-dir">upload_tmp_dir</link>, and
<link linkend="ini.post-max-size">post_max_size</link> directives.
</para>
&ini.shorthandbytes;
</listitem>
</varlistentry>
@ -1028,6 +1037,9 @@ include_path=".;c:\php\includes"
<para>
The maximum size of an uploaded file.
</para>
&ini.shorthandbytes;
</listitem>
</varlistentry>
</variablelist>

View file

@ -162,6 +162,9 @@ arrays may be disabled with the
<link linkend="ini.register-long-arrays">register_long_arrays</link>
directive.'>
<!ENTITY ini.shorthandbytes '<simpara>When an <type>integer</type> is used, the
value is measured in bytes. You may also use shorthand notation as described
in <link linkend="faq.using.shorthandbytes">this faq</link>.</simpara>'>
<!-- Image (GD) Notes -->
<!ENTITY note.config.t1lib '<note><simpara>This function is only available

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.22 $ -->
<!-- $Revision: 1.23 $ -->
<section id="errorfunc.configuration">
&reftitle.runtime;
&extension.runtime;
@ -225,6 +225,9 @@
This length is applied to logged errors, displayed errors and also to
<link linkend="reserved.variables.phperrormsg">$php_errormsg</link>.
</para>
&ini.shorthandbytes;
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<section id="odbc.configuration">
&reftitle.runtime;
&extension.runtime;
@ -176,6 +176,9 @@
Handling of LONG fields. Specifies the number of bytes returned to
variables.
</para>
&ini.shorthandbytes;
</listitem>
</varlistentry>