Skip to content

Commit

Permalink
Add ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to SysvMessageQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Jun 24, 2020
1 parent 653e4ea commit 16fe64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/sysvmsg/sysvmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 16fe64d

Please sign in to comment.