From: Máté Kocsis Date: Wed, 24 Jun 2020 10:04:10 +0000 (+0200) Subject: Add ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to SysvMessageQueue X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16fe64d3edfb0e834d5faa3fec4624b62ea77ae8;p=php Add ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to SysvMessageQueue --- diff --git a/ext/sysvmsg/sysvmsg.c b/ext/sysvmsg/sysvmsg.c index e44bb58aea..d95eb5decc 100644 --- a/ext/sysvmsg/sysvmsg.c +++ b/ext/sysvmsg/sysvmsg.c @@ -113,7 +113,7 @@ PHP_MINIT_FUNCTION(sysvmsg) zend_class_entry ce; INIT_CLASS_ENTRY(ce, "SysvMessageQueue", class_SysvMessageQueue_methods); sysvmsg_queue_ce = zend_register_internal_class(&ce); - sysvmsg_queue_ce->ce_flags |= ZEND_ACC_FINAL; + sysvmsg_queue_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES; sysvmsg_queue_ce->create_object = sysvmsg_queue_create_object; sysvmsg_queue_ce->serialize = zend_class_serialize_deny; sysvmsg_queue_ce->unserialize = zend_class_unserialize_deny;