[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [Q] invoking Lua from within PHP
- From: "V S P" <toreason@...>
- Date: Fri, 19 Jun 2009 01:12:20 -0400
Hi,
I saw this question on the list once in a while and just
wanted to check to see if may be an 'in-process' solution has been
developed
Currently I invoke lua from PHP by just spawning a process and
sending my 'function' arguments as a JSON string into STDIN,
lua reads in, processes and sends out another JSON string which
I read from PHP on STDOUT pipe.
However the above is expensive, and while now I am still in the
'early' stages of the product it is not important,
I would like to know if anybody might have developed a simple 'string in
/ string out'
plugin for PHP that could invoke Lua.
thanks
--
V S P
toreason@fastmail.fm
--
http://www.fastmail.fm - A fast, anti-spam email service.