From f5c84644bcf3415276098dd8df4fe4adbdf28741 Mon Sep 17 00:00:00 2001 From: Drak Date: Wed, 16 May 2012 21:49:55 +0000 Subject: [PATCH] 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 --- reference/memcache/memcache/addserver.xml | 16 +++++++++++++++- reference/memcache/memcache/connect.xml | 14 ++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/reference/memcache/memcache/addserver.xml b/reference/memcache/memcache/addserver.xml index df64029f4b..6713a4771c 100644 --- a/reference/memcache/memcache/addserver.xml +++ b/reference/memcache/memcache/addserver.xml @@ -165,6 +165,20 @@ + + &reftitle.notes; + + + When the port is unspecified, this method defaults to the + value set of the PHP ini directive + memcache.default_port + 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. + + + + &reftitle.returnvalues; @@ -172,7 +186,7 @@ - + &reftitle.examples; diff --git a/reference/memcache/memcache/connect.xml b/reference/memcache/memcache/connect.xml index b0e76699e3..23fe70f693 100644 --- a/reference/memcache/memcache/connect.xml +++ b/reference/memcache/memcache/connect.xml @@ -71,6 +71,20 @@ + + &reftitle.notes; + + + When the port is unspecified, this method defaults to the + value set of the PHP ini directive + memcache.default_port + 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. + + + + &reftitle.returnvalues;