Is thare any way to translate .net C# into PHP and vice versa?
Is thare any w开发者_C百科ay to translate .net C# into PHP and vice versa?
There is Phalanger, which is a .NET php compiler. If you compile php with it, you can then open the assembly in Reflector to get the C# or VB.NET.
Don't know about anything that will do it the other way around.
The jsc project can convert .net/C# to PHP for you.
- Overview: http://jsc.sf.net
- Source: http://jsc.sourceforge.net/examples/web/OrcasAvalonWebApplication/
- Example: http://jsc.svn.sourceforge.net/viewvc/jsc/templates/OrcasAvalonWebApplication/
I am not sure this is going to work without getting some wetware involved. For example, like this.
精彩评论