Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15449 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1016 invoked by uid 1010); 15 Mar 2005 01:58:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1001 invoked from network); 15 Mar 2005 01:58:18 -0000 Received: from unknown (HELO akbkhome.com) (127.0.0.1) by localhost with SMTP; 15 Mar 2005 01:58:18 -0000 X-Host-Fingerprint: 202.81.246.113 246-113.netfront.net Received: from ([202.81.246.113:33500] helo=newweb) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id C4/CB-31540-93146324 for ; Mon, 14 Mar 2005 20:58:18 -0500 Received: from [192.168.0.40] (helo=oxfam.localhost ident=alan) by newweb with esmtp (Exim 4.44) id 1DB1Lo-0001tM-JH; Tue, 15 Mar 2005 10:00:05 +0800 To: Vadka Cc: internals@lists.php.net In-Reply-To: References: Content-Type: text/plain Date: Tue, 15 Mar 2005 10:04:17 +0800 Message-ID: <1110852257.15702.1.camel@alan> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit X-ACL-Warn: "cleared badlog" Subject: Re: [PHP-DEV] Embedding, threads and execution of PHP From: alan@akbkhome.com (Alan Knowles) copy and paste alot of code from apc, srm or bcompiler. all of these do something like this. Regards Alan On Mon, 2005-03-14 at 21:22 +0300, Vadka wrote: > Hi again! > > So, I'm not so experienced... > But, what can I do with next situation: > we have compiled script, we would like to execute a function from that > script in another thread (while parent is working). > So, I need the clone of compiled and executed parent script. > Or, I'm not correct? > I'm using zend_compile_file and zend_execute. > But zend_execute executes the script once again, I do not like it (there > are many echo and printf, for example, also, data, that is not required). > > What am I to do? > -- Alan Knowles