Added specific warning about affect of ini directives on these methods

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325728 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Drak 2012-05-16 21:49:55 +00:00
parent 4d81bf2025
commit f5c84644bc
2 changed files with 29 additions and 1 deletions

View file

@ -165,6 +165,20 @@
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<warning>
<para>
When the <parameter>port</parameter> is unspecified, this method defaults to the
value set of the PHP ini directive
<link linkend="ini.memcache.default-port">memcache.default_port</link>
If this value was changed elsewhere in your application it might lead to
unexpected results: for this reason it is wise to always specify the port
explicitly in this method call.
</para>
</warning>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
@ -172,7 +186,7 @@
</para>
</refsect1>
<refsect1 role="examples">
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>

View file

@ -71,6 +71,20 @@
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<warning>
<para>
When the <parameter>port</parameter> is unspecified, this method defaults to the
value set of the PHP ini directive
<link linkend="ini.memcache.default-port">memcache.default_port</link>
If this value was changed elsewhere in your application it might lead to
unexpected results: for this reason it is wise to always specify the port
explicitly in this method call.
</para>
</warning>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>