} /**
* Re-initialize existing session, or creates a new one.
*
* @param string $path The path where to store/retrieve the session
* @param string $name The session name
*/
public function open($path,
$name): bool
{ $this->memcached =
new Memcached();
$this->memcached->
setOption(Memcached::OPT_BINARY_PROTOCOL, true
); // required for touch() usage
$serverList =
[];
foreach ($this->memcached->
getServerList() as $server) { $serverList[] =
$server['host'
] . ':' .
$server['port'
];
} if ( !
preg_match_all( '#,?([^,:]+)\:(\d{1,5})(?:\:(\d+))?#',