8000
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 64da891 commit 60b5a88Copy full SHA for 60b5a88
redis.c
@@ -2021,7 +2021,7 @@ PHP_METHOD(Redis, exec)
2021
if (IS_PIPELINE(redis_sock)) {
2022
if (smart_str_get_len(&redis_sock->pipeline_cmd) == 0) {
2023
/* Empty array when no command was run. */
2024
- array_init(&z_ret);
+ ZVAL_EMPTY_ARRAY(&z_ret);
2025
} else {
2026
if (redis_sock_write(redis_sock, ZSTR_VAL(redis_sock->pipeline_cmd.s),
2027
ZSTR_LEN(redis_sock->pipeline_cmd.s)) < 0) {
0 commit comments