explicitly declare as abstract
authorMichael Wallner <mike@php.net>
Mon, 30 Jul 2012 18:28:37 +0000 (18:28 +0000)
committerMichael Wallner <mike@php.net>
Mon, 30 Jul 2012 18:28:37 +0000 (18:28 +0000)
php_http_client_pool.c

index cb98d43f96b9f308123ac2fb7d8771024aa0a6b6..93e5e0a1c5b52372c9f111297e2973a1e3e06709 100644 (file)
@@ -586,7 +586,7 @@ PHP_METHOD(HttpClientPool, enableEvents)
 
 PHP_MINIT_FUNCTION(http_client_pool)
 {
-       PHP_HTTP_REGISTER_CLASS(http\\Client\\Pool, AbstractPool, http_client_pool, php_http_object_get_class_entry(), 0);
+       PHP_HTTP_REGISTER_CLASS(http\\Client\\Pool, AbstractPool, http_client_pool, php_http_object_get_class_entry(), ZEND_ACC_EXPLICIT_ABSTRACT_CLASS);
        php_http_client_pool_class_entry->create_object = php_http_client_pool_object_new;
        memcpy(&php_http_client_pool_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
        php_http_client_pool_object_handlers.clone_obj = NULL;