Skip to content

Commit bcb9658

Browse files
committed
Add the ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to Shmop
1 parent 1af78bc commit bcb9658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/shmop/shmop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ PHP_MINIT_FUNCTION(shmop)
113113
zend_class_entry ce;
114114
INIT_CLASS_ENTRY(ce, "Shmop", class_Shmop_methods);
115115
shmop_ce = zend_register_internal_class(&ce);
116-
shmop_ce->ce_flags |= ZEND_ACC_FINAL;
116+
shmop_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES;
117117
shmop_ce->create_object = shmop_create_object;
118118
shmop_ce->serialize = zend_class_serialize_deny;
119119
shmop_ce->unserialize = zend_class_unserialize_deny;

0 commit comments

Comments
 (0)