Viewing File: /opt/alt/tests/alt-php81-pecl-memcached_3.2.0-1.el8/tests/no-not-found.phpt

--TEST--
Test that correct return value is returned
--SKIPIF--
<?php include "skipif.inc";?>
--FILE--
<?php

$memcached = new Memcached();
$memcached->addServer('localhost', 5555); // Server should not exist

$result = $memcached->get('foo_not_exists');
var_dump ($result === Memcached::GET_ERROR_RETURN_VALUE);

$result = $memcached->get('foo_not_exists');
var_dump ($result === Memcached::GET_ERROR_RETURN_VALUE);

echo "OK\n";

?>
--EXPECT--
bool(true)
bool(true)
OK
Back to Directory File Manager
<