On Tue, Jan 5, 2010 at 3:42 PM, Eric Fowler <eric.fowler@xxxxxxxxx> wrote: > Hm, that could work, but it does produce overhead. > you should consider your overall communication paradigm. im very loosely familiar w/ swig, basically ive heard of it ... anyways, you have a few options for communication, . shell (call php from C or the other way around) . php extension, this may not make sense depending on what your C is doing and is by far the most complex . network protocol, socket, http or other.. can you tell us a little bit more about what youre trying to accomplish and specifically how C and php are communicating in general in your application? -nathan