We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
forbidden_methods
1 parent bb7dca3 commit 2f64dc1Copy full SHA for 2f64dc1
Zend/zend_enum.c
@@ -85,7 +85,7 @@ static void zend_verify_enum_magic_methods(zend_class_entry *ce)
85
ZEND_ENUM_DISALLOW_MAGIC_METHOD(__serialize, "__serialize");
86
ZEND_ENUM_DISALLOW_MAGIC_METHOD(__unserialize, "__unserialize");
87
88
- const char *forbidden_methods[] = {
+ static const char *const forbidden_methods[] = {
89
"__sleep",
90
"__wakeup",
91
"__set_state",
0 commit comments