views:

45

answers:

0

I have gotten Lua scripting in C# working via LuaInterface, and javascript scripting working via JInt. The goal is to support a wide variety of scripting language options. Is there any similar method to run embedded PHP scripts in a similar way?

I.E., have a PHP script in a string, pass it to either the PHP command line or an interpreter of sorts, and capture the output (Ideally being able to hook in to .NET methods).

Looked at IronPHP, but that doesn't seem to have gotten anywhere. Also looked at Phalanger, but am not sure if it can accomplish this. It seems to be more along the lines of "Compile PHP to .NET bytecode".