--TEST-- Memcached construct with bad arguments --SKIPIF-- = 80000) die("skip PHP 7 only"); ?> --FILE-- setOption (Memcached::OPT_BINARY_PROTOCOL, true)); echo "OK" . PHP_EOL; --EXPECTF-- Warning: Memcached::__construct() expects parameter 1 to be string, object given in %s on line 3 Memcached::__construct() expects parameter 1 to be string, object given object(Memcached)#1 (0) { } Warning: Memcached::setOption(): Memcached constructor was not called in %s on line 14 NULL OK