Hello,

I have made an unaccepted php_embed extension available at http://www.badcode.be/~descript/PHP/php_embed/ Take a look at the example : http://www.badcode.be/~descript/PHP/php_embed/examples/pembed_new.c
I use this part of code on my software with C++
If you have questions ...

Michael
----- Original Message ----- From: "Marco" <[EMAIL PROTECTED]>
To: <internals@lists.php.net>
Sent: Tuesday, March 14, 2006 8:48 PM
Subject: [PHP-DEV] PHP Embedded


Hi All

The company I am doing some work for is currently using the php_embed to
access the php engine from within a windows based c++ application.

I have been asked a question that I dont know the answer to and all my
googling attempts have failed.

Is there a way from within the embedded system to destroy all created
variables so that the environment is the same as when it was started or do
we need to shutdown the embedded engine and start it up again?

Also a problem they are coming up with occasionally is that the php engine
will crash when

php_embed_init(argc, argv PTSRMLS_CC);

is called, they havent found any reproducible steps yet. Could this be
caused by shutting down and starting up the emdedded engine from within the
same app? I have asked and the application isnt multi threaded.

Finally is there any examples of how to embed php in a windows app? I have
done some googling and have found odd code snippets but if there is a
detailed doc I could read I would be most grateful.

Thanks in advance for any information provided.

Regards

Mark
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to