Sindbad~EG File Manager

Current Path : /opt/cpanel/ea-php70/root/usr/share/tests/pecl/memcached/tests/
Upload File :
Current File : //opt/cpanel/ea-php70/root/usr/share/tests/pecl/memcached/tests/bug_18639.phpt

--TEST--
Memcached::getServerByKey(): Bug pecl#18639 (Segfault in getServerByKey)
--SKIPIF--
<?php include "skipif.inc";?>
--FILE--
<?php
include dirname (__FILE__) . '/config.inc';
$m = memc_get_instance ();

var_dump($m->set('test', 'test1'));
var_dump($m->getServerByKey('1'));

--EXPECTF--
bool(true)
array(3) {
  ["host"]=>
  string(9) "%s"
  ["port"]=>
  int(%d)
  ["weight"]=>
  int(%r[01]%r)
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists