Skip to content

Add support for OPT_REPLY_LITERAL #118

@prateek-kumar-improving

Description

PHPRedis has a configuration option OPT_REPLY_LITERAL that controls whether Redis "+OK" responses are returned as:

  • String "OK" (when OPT_REPLY_LITERAL is enabled)
  • Boolean true (when OPT_REPLY_LITERAL is disabled - the default)

This is set at runtime:
$redis->setOption(Redis::OPT_REPLY_LITERAL, false);

Metadata

Metadata

Labels

phpPull requests that update php code

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions