Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22446 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11811 invoked by uid 1010); 15 Mar 2006 06:52:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11796 invoked from network); 15 Mar 2006 06:52:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2006 06:52:11 -0000 X-Host-Fingerprint: 80.35.80.143 143.Red-80-35-80.staticIP.rima-tde.net Received: from ([80.35.80.143:12450] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 3B/3F-55982-B99B7144 for ; Wed, 15 Mar 2006 01:52:11 -0500 Message-ID: <3B.3F.55982.B99B7144@pb1.pair.com> To: internals@lists.php.net Date: Wed, 15 Mar 2006 07:52:06 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 References: <2fd662a00603141148n1f3c6aw@mail.gmail.com> <200603142158.25640.johannes@php.net> <04.6F.55982.3DB57144@pb1.pair.com> <66.50.55982.01E57144@pb1.pair.com> <4417608A.1020706@hristov.com> <00e401c647cd$55348190$5c8be5a9@ohr.berkeley.edu> In-Reply-To: <00e401c647cd$55348190$5c8be5a9@ohr.berkeley.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.35.80.143 Subject: Re: [PHP-DEV] PHP Embedded From: markright@gmail.com (Mark Evans) Hi Sara > The short answer is: call php_request_shutdown(NULL); to kill the active > interpreter (one is started implicitly by PHP_EMBED_START_BLOCK(), then > php_request_startup(TSRMLS_C); to initialize a new one (the last one active > at PHP_EMBED_END_BLOCK() will be impliticly shutdown). Great many thanks, this seemed to be easier than I thought :-) >>> I have placed an order for this book, I guess I should try and finish >>> reading the other 4 php books I purchased recently before then :-) >>> > Nah, reading is overrated, just so long as you buy it ;) LOL, I hope you enjoy writing the book, I did a technical review of a PHP 5 ecommerce book a while ago which was a lot of work, so I can imagine how much more work must be involved to actually write the thing. Regards Mark