1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00

- Use engine call to register interfaces (steph)

This commit is contained in:
Marcus Boerger
2006-06-04 10:26:55 +00:00
parent 2f418134ff
commit dfd2295849

View File

@@ -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;