From: Máté Kocsis Date: Wed, 24 Jun 2020 12:55:49 +0000 (+0200) Subject: Add the ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to Shmop X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcb9658b87b954fb3f910d337d9abf83b74b21f3;p=php Add the ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to Shmop --- 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;