diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-24 14:55:49 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-24 14:56:06 +0200 |
commit | bcb9658b87b954fb3f910d337d9abf83b74b21f3 (patch) | |
tree | b6e0988383c6b57e10b5dd82323543255ce42697 /ext | |
parent | 1af78bc8a4afdc43772a8634d235cb80772824b6 (diff) | |
download | php-git-bcb9658b87b954fb3f910d337d9abf83b74b21f3.tar.gz |
Add the ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to Shmop
Diffstat (limited to 'ext')
-rw-r--r-- | ext/shmop/shmop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c index c1e815eeb2..97e4491766 100644 --- a/ext/shmop/shmop.c +++ b/ext/shmop/shmop.c @@ -113,7 +113,7 @@ PHP_MINIT_FUNCTION(shmop) zend_class_entry ce; INIT_CLASS_ENTRY(ce, "Shmop", class_Shmop_methods); shmop_ce = zend_register_internal_class(&ce); - shmop_ce->ce_flags |= ZEND_ACC_FINAL; + shmop_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES; shmop_ce->create_object = shmop_create_object; shmop_ce->serialize = zend_class_serialize_deny; shmop_ce->unserialize = zend_class_unserialize_deny; |