8000 Merge branch 'hotfix/eval_alias' into develop · devsnippet/phpredis@22ebd71 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

Commit 22ebd71

Browse files
Merge branch 'hotfix/eval_alias' into develop
2 parents f3a3fce + c39ecd5 commit 22ebd71

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