From bcb9658b87b954fb3f910d337d9abf83b74b21f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Wed, 24 Jun 2020 14:55:49 +0200 Subject: [PATCH] Add the ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to Shmop --- ext/shmop/shmop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1