Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Mar 9, 2015

The documentation on php.net for Memcached states that the HAVE_IGBINARY and HAVE_JSON class constants are of type boolean; however they are currently registered as integers using the REGISTER_MEMC_CLASS_CONST_LONG macro.

These constants and the other three affected by this Pull Request (HAVE_MSGPACK, HAVE_SESSION and HAVE_SASL) all represent boolean conditions, and so it makes more sense for them to use the boolean data type than integer.

@sodabrew sodabrew merged commit 5fee5fa into php-memcached-dev:master Jan 20, 2017
@sodabrew
Copy link
Collaborator

Thank you! Apologies for the long delay on the review of this PR. The code will appear in the upcoming 3.x series of the memcached module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants