ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
File manager
File manager - Edit - /opt/alt/tests/alt-php85-pecl-memcached_3.2.0-3.el8/tests/bug_16084.phpt
Back
--TEST-- Memcached: Bug #16084 (Crash when addServers is called with an associative array) --SKIPIF-- <?php include "skipif.inc";?> --FILE-- <?php $servers = array ( 0 => array ( 'KEYHERE' => 'localhost', 11211, 3 ), ); $m = new memcached(); var_dump($m->addServers($servers)); $list = $m->getServerList(); var_dump ($list[0]["host"], $list[0]["port"]); echo "OK"; ?> --EXPECT-- bool(true) string(9) "localhost" int(11211) OK
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.19 |
proxy
|
phpinfo
|
Settings