]> granicus.if.org Git - php/commitdiff
- Use engine call to register interfaces (steph)
authorMarcus Boerger <helly@php.net>
Sun, 4 Jun 2006 10:11:48 +0000 (10:11 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 4 Jun 2006 10:11:48 +0000 (10:11 +0000)
ext/reflection/php_reflection.c

index a1f1ea100da56fd37a905efdf66692a1863b96ca..02b833d3ba2d416d92228317388b99a333fa682e 100644 (file)
@@ -4474,8 +4474,7 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
        reflection_ptr = zend_register_internal_class(&_reflection_entry TSRMLS_CC);
 
        INIT_CLASS_ENTRY(_reflection_entry, "Reflector", reflector_functions);
-       reflector_ptr = zend_register_internal_class(&_reflection_entry TSRMLS_CC);
-       reflector_ptr->ce_flags = ZEND_ACC_ABSTRACT | ZEND_ACC_INTERFACE;
+       reflector_ptr = zend_register_internal_interface(&_reflection_entry TSRMLS_CC);
 
        INIT_CLASS_ENTRY(_reflection_entry, "ReflectionFunction", reflection_function_functions);
        _reflection_entry.create_object = reflection_objects_new;