static zend_function *php_gd_font_object_get_constructor(zend_object *object)
{
- zend_throw_error(NULL, "You cannot initialize a GdImage object except through helper functions");
+ zend_throw_error(NULL, "You cannot initialize a GdFont object except through helper functions");
return NULL;
}
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "GdFont", class_GdFont_methods);
gd_font_ce = zend_register_internal_class(&ce);
- gd_font_ce->ce_flags |= ZEND_ACC_FINAL;
+ gd_font_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES;
gd_font_ce->create_object = php_gd_font_object_create;
gd_font_ce->serialize = zend_class_serialize_deny;
gd_font_ce->unserialize = zend_class_unserialize_deny;
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "PSpell", class_PSpell_methods);
php_pspell_ce = zend_register_internal_class(&ce);
- php_pspell_ce->ce_flags |= ZEND_ACC_FINAL;
+ php_pspell_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES;
php_pspell_ce->create_object = php_pspell_object_create;
php_pspell_ce->serialize = zend_class_serialize_deny;
php_pspell_ce->unserialize = zend_class_unserialize_deny;
INIT_CLASS_ENTRY(ce, "PSpellConfig", class_PSpellConfig_methods);
php_pspell_config_ce = zend_register_internal_class(&ce);
- php_pspell_config_ce->ce_flags |= ZEND_ACC_FINAL;
+ php_pspell_config_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NO_DYNAMIC_PROPERTIES;
php_pspell_config_ce->create_object = php_pspell_config_object_create;
php_pspell_config_ce->serialize = zend_class_serialize_deny;
php_pspell_config_ce->unserialize = zend_class_unserialize_deny;