Re: PHP Embedded

From: Date: Wed, 15 Mar 2006 06:52:06 +0000
Subject: Re: PHP Embedded
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-22446@lists.php.net to get a copy of this message
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

« previous php.internals (#22446) next »