summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-06-04 10:26:55 +0000
committerMarcus Boerger <helly@php.net>2006-06-04 10:26:55 +0000
commitdfd229584941c8f2f3b22018167bfbcf3d21a5ea (patch)
treea953446a74bcccf762eae0edc5844e6741becd8e /ext/reflection/php_reflection.c
parent2f418134ff09570ebd352b74df1d6efd981ccff8 (diff)
downloadphp-git-dfd229584941c8f2f3b22018167bfbcf3d21a5ea.tar.gz
- Use engine call to register interfaces (steph)
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 17ac0acb32..14586f0090 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -4415,8 +4415,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;