helly           Sun Jun  4 10:26:56 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/reflection     php_reflection.c 
  Log:
  - Use engine call to register interfaces (steph)
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.164.2.33.2.3&r2=1.164.2.33.2.4&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.164.2.33.2.3 
php-src/ext/reflection/php_reflection.c:1.164.2.33.2.4
--- php-src/ext/reflection/php_reflection.c:1.164.2.33.2.3      Thu Jun  1 
14:31:22 2006
+++ php-src/ext/reflection/php_reflection.c     Sun Jun  4 10:26:55 2006
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_reflection.c,v 1.164.2.33.2.3 2006/06/01 14:31:22 tony2001 Exp $ */
+/* $Id: php_reflection.c,v 1.164.2.33.2.4 2006/06/04 10:26:55 helly Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -4415,8 +4415,7 @@
        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;
@@ -4485,7 +4484,7 @@
        php_info_print_table_start();
        php_info_print_table_header(2, "Reflection", "enabled");
 
-       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 
1.164.2.33.2.3 2006/06/01 14:31:22 tony2001 Exp $");
+       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 
1.164.2.33.2.4 2006/06/04 10:26:55 helly Exp $");
 
        php_info_print_table_end();
 } /* }}} */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to