views:

98

answers:

3

Is thare any way to translate .net C# into PHP and vice versa?

A: 

I am not sure this is going to work without getting some wetware involved. For example, like this.

Tarydon
+1  A: 

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.

Oded
+1  A: 

The jsc project can convert .net/C# to PHP for you.

  1. Overview: http://jsc.sf.net
  2. Source: http://jsc.sourceforge.net/examples/web/OrcasAvalonWebApplication/
  3. Example: http://jsc.svn.sourceforge.net/viewvc/jsc/templates/OrcasAvalonWebApplication/ alt text
zproxy