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 614b86e commit 3c64b33Copy full SHA for 3c64b33
1 file changed
redis_array_impl.c
@@ -91,7 +91,7 @@ ra_init_function_table(RedisArray *ra)
91
zend_hash_init(ra->pure_cmds, 0, NULL, NULL, 0);
92
93
#define ra_add_pure_cmd(cmd) \
94
- zend_hash_str_update_ptr(ra->pure_cmds, cmd, sizeof(cmd) - 1, NULL);
+ zend_hash_str_add_empty_element(ra->pure_cmds, cmd, sizeof(cmd) - 1);
95
96
ra_add_pure_cmd("EXISTS");
97
ra_add_pure_cmd("GET");
0 commit comments