--TEST-- Test SASL authentication --SKIPIF-- --INI-- memcached.use_sasl = on --FILE-- true )); var_dump ($m->setSaslAuthData (MEMC_SASL_USER, MEMC_SASL_PASS)); $key = uniqid ('sasl_test_'); var_dump ($m->set ($key, 'set using sasl')); var_dump ($m->get ($key)); echo "OK" . PHP_EOL; ?> --EXPECT-- bool(true) bool(true) string(14) "set using sasl" OK