bjori           Sun Sep 10 13:35:33 2006 UTC

  Modified files:              
    /php-src/ext/reflection     php_reflection.c 
  Log:
  MFB: abstracting ReflectionFunctionAbstract & fix couple of typos
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/php_reflection.c?r1=1.251&r2=1.252&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.251 
php-src/ext/reflection/php_reflection.c:1.252
--- php-src/ext/reflection/php_reflection.c:1.251       Thu Aug 31 16:14:43 2006
+++ php-src/ext/reflection/php_reflection.c     Sun Sep 10 13:35:32 2006
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_reflection.c,v 1.251 2006/08/31 16:14:43 tony2001 Exp $ */
+/* $Id: php_reflection.c,v 1.252 2006/09/10 13:35:32 bjori Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1119,7 +1119,7 @@
        zend_u_unmangle_property_name(utype, prop->name, prop->name_length, 
&class_name, &prop_name);
        
        if (!(prop->flags & ZEND_ACC_PRIVATE)) {
-               /* we have to seach the class hierarchy for this (implicit) 
public or protected property */
+               /* we have to search the class hierarchy for this (implicit) 
public or protected property */
                zend_class_entry *tmp_ce = ce;
                zend_property_info *tmp_info;
                int prop_name_len = UG(unicode) ? u_strlen(prop_name.u) : 
strlen(prop_name.s);
@@ -3783,7 +3783,7 @@
        }
        
        if (!(property_info->flags & ZEND_ACC_PRIVATE)) {
-               /* we have to seach the class hierarchy for this (implicit) 
public or protected property */
+               /* we have to search the class hierarchy for this (implicit) 
public or protected property */
                zend_class_entry *tmp_ce = ce;
                zend_property_info *tmp_info;
                
@@ -4424,8 +4424,7 @@
 
 static zend_function_entry reflection_function_abstract_functions[] = {
        ZEND_ME(reflection, __clone, NULL, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
-       ZEND_ME(reflection_function, __construct, 
arginfo_reflection_function___construct, 0)
-       ZEND_ME(reflection_function, __toString, NULL, 0)
+       PHP_ABSTRACT_ME(reflection_function, __toString, NULL)
        ZEND_ME(reflection_function, isInternal, NULL, 0)
        ZEND_ME(reflection_function, isUserDefined, NULL, 0)
        ZEND_ME(reflection_function, getName, NULL, 0)
@@ -4445,6 +4444,8 @@
 };
 
 static zend_function_entry reflection_function_functions[] = {
+       ZEND_ME(reflection_function, __construct, 
arginfo_reflection_function___construct, 0)
+       ZEND_ME(reflection_function, __toString, NULL, 0)
        ZEND_ME(reflection_function, export, 
arginfo_reflection_function_export, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
        ZEND_ME(reflection_function, isDisabled, NULL, 0)
        ZEND_ME(reflection_function, invoke, 
arginfo_reflection_function_invoke, 0)
@@ -4533,7 +4534,7 @@
 
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_reflection_class_getMethods, 0, 0, 0)
-       ZEND_ARG_INFO(0, $filter)
+       ZEND_ARG_INFO(0, filter)
 ZEND_END_ARG_INFO()
 
 static
@@ -4866,7 +4867,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.251 
2006/08/31 16:14:43 tony2001 Exp $");
+       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.252 
2006/09/10 13:35:32 bjori 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