note 105715 added to memcache.addserver
| From: | cpullen at imvu dot com | Date: | Thu, 08 Sep 2011 18:15:05 +0000 |
| Subject: | note 105715 added to memcache.addserver | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183056@lists.php.net to get a copy of this message | ||
The above documentation is only partially correct in saying that the failure_callback function
"takes two parameters, the hostname and port of the failed server".
It can actually take up to 5 parameters: host, tcp_port, udp_port, error_msg, error_code. I've
tested this on Memcache 2.2.6 and 3.0.4.
----
Server IP: 69.147.83.197
Probable Submitter: 204.225.145.242
----
Manual Page -- http://www.php.net/manual/en/memcache.addserver.php
Edit -- https://master.php.net/note/edit/105715
Del: integrated -- https://master.php.net/note/delete/105715/integrated
Del: useless -- https://master.php.net/note/delete/105715/useless
Del: bad code -- https://master.php.net/note/delete/105715/bad+code
Del: spam -- https://master.php.net/note/delete/105715/spam
Del: non-english -- https://master.php.net/note/delete/105715/non-english
Del: in docs -- https://master.php.net/note/delete/105715/in+docs
Del: other reasons-- https://master.php.net/note/delete/105715
Reject -- https://master.php.net/note/reject/105715
Search -- https://master.php.net/manage/user-notes.php