mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Fix RedisArray::_rehash to support closures
* Add "f" parameter in _rehash() * Call object with new method * Add rehash test with closure
This commit is contained in:
+1
-1
@@ -24,6 +24,6 @@ void ra_index_discard(zval *z_redis, zval *return_value TSRMLS_DC);
|
||||
void ra_index_unwatch(zval *z_redis, zval *return_value TSRMLS_DC);
|
||||
zend_bool ra_is_write_cmd(RedisArray *ra, const char *cmd, int cmd_len);
|
||||
|
||||
void ra_rehash(RedisArray *ra, zval *z_cb TSRMLS_DC);
|
||||
void ra_rehash(RedisArray *ra, zend_fcall_info *z_cb, zend_fcall_info_cache *z_cb_cache TSRMLS_DC);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user