I have a library written in C that in turn is build upon the GMP library.

I want to know how can I use the library with PHP?

more informally, say I want to use such library with JAVA, I can simply write Java wrappers for the library.

有帮助吗?

解决方案

I think php's exec or shell_exec functions can help you out ...

this functions are used for Execute an external program

take a look at this...

http://www.php.net/manual/en/function.exec.php

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top