small note about interface registration
| From: | Steph Fox | Date: | Sun, 04 Jun 2006 06:26:57 +0000 |
| Subject: | small note about interface registration | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-23906@lists.php.net to get a copy of this message | ||
Guys/gal,
At the risk of being boring, someone should probably know that the ZEND_ACC_INTERFACE flag isn't getting set for anything outside the Engine during zend_register_internal_interface(). zend_API.c needs to #include zend_compile.h to get it defined, unless you know a better way.
SPL and Reflection don't use zend_register_internal_interface(), so they won't get theirs set from within ZE anyway (tho' they probably should).
Note that this doesn't fix my PHP-GTK issue, it was just a side-query into global class table corruption :-(
- Steph