We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7edcdf9 commit fa468c8Copy full SHA for fa468c8
php_memcached.c
@@ -2723,6 +2723,16 @@ static void php_memc_register_constants(INIT_FUNC_ARGS)
2723
REGISTER_MEMC_CLASS_CONST_LONG(OPT_PREFIX_KEY, MEMC_OPT_PREFIX_KEY);
2724
REGISTER_MEMC_CLASS_CONST_LONG(OPT_SERIALIZER, MEMC_OPT_SERIALIZER);
2725
2726
+
2727
+ /*
2728
+ * Indicate whether igbinary serializer is available
2729
+ */
2730
+#ifdef HAVE_MEMCACHED_IGBINARY
2731
+ REGISTER_MEMC_CLASS_CONST_BOOL(IGBINARY_SUPPORT, 1);
2732
+#else
2733
+ REGISTER_MEMC_CLASS_CONST_BOOL(IGBINARY_SUPPORT, 0);
2734
+#endif
2735
2736
/*
2737
* libmemcached behavior options
2738
*/
0 commit comments