extend php with java/c++?
i only know php and i wonder if you can extend开发者_运维百科 a php web application with c++ or java when needed? i dont want to convert my code with quercus, cause that is very error prone. is there another way to extend it?
cause from what i have read python can extend it with c++ without converting the python code and use java with jython?
Most of PHP is written in modular C code. You can create your own PHP extensions in C. See http://php.net/internals, the PHP wiki and the book "Extending and Embedding PHP" by Sara Golemon.
精彩评论