Easiest way to convert PHP script to OpCode using C #?
2 answers
I don't think you can do a literal conversion as it is interpreted on the fly. You will essentially have to parse the PHP engine.
Each PHP engine will be different, and in another use case Phalanger just converts to the CLR, that is: it is not PHP anymore, so you will actually be parsing the .NET CLR.
0
a source to share