From: Wez Furlong Date: Tue, 27 Jul 2004 22:17:40 +0000 (+0000) Subject: that's not my copy of the exception ctor, do don't fiddle its flags. X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~348 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a783891e768fbe42a64410ee61054c129086d9f5;p=php that's not my copy of the exception ctor, do don't fiddle its flags. --- diff --git a/ext/com_dotnet/com_extension.c b/ext/com_dotnet/com_extension.c index 5148451460..c4679a82ee 100644 --- a/ext/com_dotnet/com_extension.c +++ b/ext/com_dotnet/com_extension.c @@ -194,7 +194,7 @@ PHP_MINIT_FUNCTION(com_dotnet) INIT_CLASS_ENTRY(ce, "com_exception", NULL); php_com_exception_class_entry = zend_register_internal_class_ex(&ce, zend_exception_get_default(), NULL TSRMLS_CC); php_com_exception_class_entry->ce_flags |= ZEND_ACC_FINAL; - php_com_exception_class_entry->constructor->common.fn_flags |= ZEND_ACC_PROTECTED; +// php_com_exception_class_entry->constructor->common.fn_flags |= ZEND_ACC_PROTECTED; INIT_CLASS_ENTRY(ce, "com_safearray_proxy", NULL); php_com_saproxy_class_entry = zend_register_internal_class(&ce TSRMLS_CC);