Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27271 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10525 invoked by uid 1010); 5 Jan 2007 11:18:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10510 invoked from network); 5 Jan 2007 11:18:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2007 11:18:16 -0000 Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 82.135.89.143 cause and error) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 82.135.89.143 ppp-82-135-89-143.dynamic.mnet-online.de Linux 2.6 Received: from [82.135.89.143] ([82.135.89.143:53557] helo=johannes.nop) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/F0-01582-7F33E954 for ; Fri, 05 Jan 2007 06:18:16 -0500 Received: from johannes.nop (localhost [127.0.0.1]) by johannes.nop (8.13.8/8.13.8) with ESMTP id l05BIBvE006700; Fri, 5 Jan 2007 12:18:11 +0100 Received: (from johannes@localhost) by johannes.nop (8.13.8/8.13.8/Submit) id l05BIAZK006699; Fri, 5 Jan 2007 12:18:10 +0100 X-Authentication-Warning: johannes.nop: johannes set sender to johannes@php.net using -f To: Roberto Fichera Cc: internals@lists.php.net In-Reply-To: <7.0.1.0.2.20070105112942.073b0008@tekno-soft.it> References: <7.0.1.0.2.20070105094532.0575b9d8@tekno-soft.it> <7.0.1.0.2.20070105112942.073b0008@tekno-soft.it> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 05 Jan 2007 12:18:10 +0100 Message-ID: <1167995890.21304.374.camel@johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 (2.8.2.1-2.fc6) Subject: Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi Roberto, On Fri, 2007-01-05 at 11:33 +0100, Roberto Fichera wrote: > Now my problem is how to find declared functions in a context. Which hash table > I have to use? Just take a look at the structure behind the executor_globals EG struct: http://lxr.php.net/source/ZendEngine2/zend_globals.h#147 to see which HashTable might contain the function_table. In that structure you might find other useful elements )(maybe you need the class table or constants table, too?) ;-) johannes