ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-cvs
php-cvs
Re: [PHP-CVS] cvs: php-src /ext/reflection php_reflection.c
by Steph Fox other posts by this author
Jun 4 2006 3:30AM messages near this date
[PHP-CVS] cvs: php-src /ext/reflection php_reflection.c | [PHP-CVS] cvs: php-src /ext/reflection php_reflection.c
Helly, hi,

This won't work unless zend_compile.h is included in zend_API.c...

(and I still think you need the ABSTRACT flag in there for Reflector too ;)

- Steph


----- Original Message ----- 
From: "Marcus Boerger" <helly@[...].net> 
To: <php-cvs@[...].net> 
Sent: Sunday, June 04, 2006 12:11 PM
Subject: [PHP-CVS] cvs: php-src /ext/reflection php_reflection.c


>  helly Sun Jun  4 10:11:49 2006 UTC
> 
>   Modified files:
>     /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.231&r2=1.232&d
iff_format=u
>  Index: php-src/ext/reflection/php_reflection.c
>  diff -u php-src/ext/reflection/php_reflection.c:1.231 
>  php-src/ext/reflection/php_reflection.c:1.232
>  --- php-src/ext/reflection/php_reflection.c:1.231 Thu Jun  1 14:31:02 2006
>  +++ php-src/ext/reflection/php_reflection.c Sun Jun  4 10:11:48 2006
>  @@ -20,7 +20,7 @@
>  
>  +----------------------------------------------------------------------+
>  */
> 
>  -/* $Id: php_reflection.c,v 1.231 2006/06/01 14:31:02 tony2001 Exp $ */
>  +/* $Id: php_reflection.c,v 1.232 2006/06/04 10:11:48 helly Exp $ */
> 
>  #ifdef HAVE_CONFIG_H
>  #include "config.h"
>  @@ -4474,8 +4474,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;
>  @@ -4544,7 +4543,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.231 
>  2006/06/01 14:31:02 tony2001 Exp $");
>  + php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.232 
>  2006/06/04 10:11:48 helly Exp $");
> 
>   php_info_print_table_end();
>  } /* }}} */
> 
>  -- 
>  PHP CVS Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
>  __________ NOD32 1.1380 (20060125) Information __________
> 
>  This message was checked by NOD32 antivirus system.
>  http://www.eset.com
> 
>  

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Antony Dovgal
Marcus Boerger
Hannes Magnusson
Marcus Boerger
Marcus Boerger
Steph Fox
Marcus Boerger
Antony Dovgal

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved