I have an existing C library I would like to somehow use from within PHP. The code is complex and it will take me months to translate it to PHP. I heard I can create extensions to PHP.
Another posibility is to translate C code to Java and call it from PHP (how to do this ?)But the code is full of pointers...
Is there a tool which translates C to Java or C to PHP ?
Thanks