0

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

Rella
  • 62,177
  • 103
  • 350
  • 621
  • 1
    Possible Duplicate - http://stackoverflow.com/questions/441161/how-to-convert-code-from-c-to-php – Bhaskar Jan 29 '10 at 08:34

3 Answers3

1

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
  • 477,625
  • 97
  • 867
  • 998
1

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
Glorfindel
  • 20,880
  • 13
  • 75
  • 99
zproxy
  • 3,409
  • 3
  • 38
  • 44
0

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

Tarydon
  • 4,979
  • 21
  • 24