Skip to content

Commit 6cf2cea

Browse files
Merge branch 'feature/reflection_flags' into develop
2 parents c501638 + d1eddc4 commit 6cf2cea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ PHP_INI_END()
7272
ZEND_DECLARE_MODULE_GLOBALS(redis)
7373

7474
static zend_function_entry redis_functions[] = {
75-
PHP_ME(Redis, __construct, NULL, ZEND_ACC_PUBLIC)
76-
PHP_ME(Redis, __destruct, NULL, ZEND_ACC_PUBLIC)
75+
PHP_ME(Redis, __construct, NULL, ZEND_ACC_CTOR | ZEND_ACC_PUBLIC)
76+
PHP_ME(Redis, __destruct, NULL, ZEND_ACC_DTOR | ZEND_ACC_PUBLIC)
7777
PHP_ME(Redis, connect, NULL, ZEND_ACC_PUBLIC)
7878
PHP_ME(Redis, pconnect, NULL, ZEND_ACC_PUBLIC)
7979
PHP_ME(Redis, close, NULL, ZEND_ACC_PUBLIC)

0 commit comments

Comments
 (0)