Skip to content

Commit

Permalink
Alias eval and evalsha
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-grunder committed Mar 16, 2013
1 parent f3a3fce commit c39ecd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ static zend_function_entry redis_functions[] = {
PHP_MALIAS(Redis, srem, sRemove, NULL, ZEND_ACC_PUBLIC)
PHP_MALIAS(Redis, sismember, sContains, NULL, ZEND_ACC_PUBLIC)
PHP_MALIAS(Redis, zrevrange, zReverseRange, NULL, ZEND_ACC_PUBLIC)

PHP_MALIAS(Redis, evaluate, eval, NULL, ZEND_ACC_PUBLIC)
PHP_MALIAS(Redis, evaluateSha, evalsha, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};

Expand Down

0 comments on commit c39ecd5

Please sign in to comment.