Вопрос

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