8000 Merge branch 'hotfix/eval_alias' · jrtkcoder/phpredis@d287163 · GitHub
[go: up one dir, main page]

Skip to content

Commit d287163

Browse files
Merge branch 'hotfix/eval_alias'
2 parents f3a3fce + c39ecd5 commit d287163

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

redis.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ static zend_function_entry redis_functions[] = {
263263
PHP_MALIAS(Redis, srem, sRemove, NULL, ZEND_ACC_PUBLIC)
264264
PHP_MALIAS(Redis, sismember, sContains, NULL, ZEND_ACC_PUBLIC)
265265
PHP_MALIAS(Redis, zrevrange, zReverseRange, NULL, ZEND_ACC_PUBLIC)
266+
267+
PHP_MALIAS(Redis, evaluate, eval, NULL, ZEND_ACC_PUBLIC)
268+
PHP_MALIAS(Redis, evaluateSha, evalsha, NULL, ZEND_ACC_PUBLIC)
266269
{NULL, NULL, NULL}
267270
};
268271

0 commit comments

Comments
 (0)
0