# small note about interface registration

- Thread: https://externals.io/message/23906
- Original archive: https://news-web.php.net/php.internals/23906
- Started by Steph Fox on 2006-06-04T06:26:57+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #23906 — Steph Fox — 2006-06-04T06:26:57+00:00

URL: https://externals.io/message/23906#23906

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
