1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From 5ba2256141c7f724920bde9eddfd4f666c309d61 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Sat, 24 Jun 2017 07:44:35 +0200
Subject: [PATCH] Fix for PHP 7.2
ZEND_ACC_CLONE have been removed in 7.2
but was not used in previous version (7.0, 7.1)
---
druid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/druid.c b/druid.c
index 1faf4c9..1c415f9 100644
--- a/druid.c
+++ b/druid.c
@@ -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)
|