Re: Reuse PHP functions in a third-party application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, March 20, 2007 5:27 am, Robert Enyedi wrote:
> I'm not very familiar with the internal architecture of the Zend PHP
> engine nor with the PHP module mechanism, but can you reuse compiled
> PHP
> modules in other applications?
>
> Is there a way of calling the functions of a compiled module from a
> third party C application?

Probably not...

I suppose that Prioblender thingie or one of the compilers might be
able to be hacked with a PHP CLI binary to kind of do that, but a base
PHP install doesn't ever actually store the opcodes anywhere in a
compiled form as you are imagining.

Even the various Caches only store opcode, and not machine
code/binaries, so you still need the Zend Engine to rip through and
execute them somewhere somehow, I think.

Of course, you could use PHP to provide REST, SOAP, WebDAV, etc

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux