سؤال

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