Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23907 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38143 invoked by uid 1010); 4 Jun 2006 07:07:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38127 invoked from network); 4 Jun 2006 07:07:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jun 2006 07:07:19 -0000 X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:7665] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 47/DD-49656-7A682844 for ; Sun, 04 Jun 2006 03:07:19 -0400 Received: from foxbox (unknown [84.228.79.24]) by gw2.emini.dk (Postfix) with ESMTP id F2617B4E61 for ; Sun, 4 Jun 2006 09:07:14 +0200 (CEST) Message-ID: <05a301c687a5$344b6df0$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "internals" Date: Sun, 4 Jun 2006 09:05:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Fw: small note about interface registration From: steph@zend.com ("Steph Fox") I take it back, fixing that in SPL and reflection _did_ do something :) The only problem left now is that DL_UNLOAD's called too soon - we need ts_free_id() to be called in the Zend module_destructor, but DL_UNLOAD to be called at the end of tsrm_shutdown() - or at least, after the global core stuff is destroyed. And TSRM doesn't know about the module. Hm. ----- Original Message ----- From: "Steph Fox" To: "internals" Sent: Sunday, June 04, 2006 8:26 AM Subject: small note about interface registration > 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 > >