Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26791 invoked by uid 1010); 14 Mar 2005 18:01:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26758 invoked from network); 14 Mar 2005 18:01:29 -0000 Received: from unknown (HELO 263.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2005 18:01:29 -0000 X-Host-Fingerprint: 213.131.2.2 nsrd.sinp.msu.ru Linux 2.4/2.6 Received: from ([213.131.2.2:4443] helo=nsrd.sinp.msu.ru) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id AD/98-31540-351D5324 for ; Mon, 14 Mar 2005 13:00:51 -0500 Received: from vvs_php (helo=localhost) by nsrd.sinp.msu.ru with local-esmtp (Exim 4.30) id 1DAuCc-0002ql-9N for internals@lists.php.net; Mon, 14 Mar 2005 21:22:06 +0300 Date: Mon, 14 Mar 2005 21:22:05 +0300 (MSK) To: internals@lists.php.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Embedding, threads and execution of PHP From: vvs_php@nsrd.sinp.msu.ru (Vadka) 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?