Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57447 invoked by uid 1010); 4 Feb 2006 00:46:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57432 invoked from network); 4 Feb 2006 00:46:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2006 00:46:09 -0000 Received: from ([127.0.0.1:12710]) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with ECSTREAM id 48/2A-04483-059F3E34 for ; Fri, 03 Feb 2006 19:46:08 -0500 X-Host-Fingerprint: 64.191.197.51 mail.ATOMZ.COM FreeBSD 4.6-4.8 (no RFC1323) Received: from ([64.191.197.51:1123] helo=mail.atomz.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 15/18-04483-BD7E3E34 for ; Fri, 03 Feb 2006 18:31:40 -0500 Received: from kytpr51cdb (router2-sb.atomz.com [64.160.41.98]) by mail.atomz.com (Postfix) with ESMTP id CB68A1D6AB6 for ; Fri, 3 Feb 2006 15:31:35 -0800 (PST) Reply-To: To: Date: Fri, 3 Feb 2006 15:31:31 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Subject: zend_extension? From: Kendal.Yee@websidestory.com ("Kendal Yee") I'm trying to build a zend_extension with a statement_handler() hookup. In the course, I ran into several problem and one of the major one is inside the function zend_eval_string(). In there, it always set CG(no_extensions)=1 before entering the zend_execute() function, and reset CG(no_extensions)=0 afterward. With no_extensions set to true, there is no chance for zend_extension_statement_handler to register inside function zend_ext_stmt_handler(). Is anyone out there ever implement a zend extension with statement_handler()? Or anyone know why no_extension is turn ON before zedn_execute() is called? Thanks, -Kendal