Skip to content

Commit

Permalink
Fix for PHP 7.2
Browse files Browse the repository at this point in the history
ZEND_ACC_CLONE have been removed in 7.2
but was not used in previous version (7.0, 7.1)
  • Loading branch information
remicollet committed Jun 24, 2017
1 parent 49d15d8 commit 5ba2256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ ZEND_END_ARG_INFO()
const zend_function_entry druid_methods[] =
{
PHP_ME(DRUID_NAME, __construct, druid_void_arginfo, ZEND_ACC_CTOR|ZEND_ACC_PRIVATE)
PHP_ME(DRUID_NAME, __clone, NULL, ZEND_ACC_CLONE|ZEND_ACC_PRIVATE)
PHP_ME(DRUID_NAME, __clone, NULL, ZEND_ACC_PRIVATE)
PHP_ME(DRUID_NAME, __sleep, NULL, ZEND_ACC_PRIVATE)
PHP_ME(DRUID_NAME, __wakeup, NULL, ZEND_ACC_PRIVATE)
PHP_ME(DRUID_NAME, __destruct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR)
Expand Down

0 comments on commit 5ba2256

Please sign in to comment.