News for hackers. Stuff that matters.
Re:Compile PHP to .NET online by Avalaxy on Saturday February 03, 2018 @06:20PM (#16300286)
The generated C# code is so weird and completely incomprehensible. I've never seen anything like that.

The practical use case also seems non-existent. How can you possibly translate all sorts of functions that .NET doesn't even have?

Re:Compile PHP to .NET online by sebazzz on Saturday February 03, 2018 @06:57PM (#16300417)
To be fair, it is decompiled code you are looking at. If you open the dropdown you will find the optgroup with the label that says "Decompiled".
Re:Compile PHP to .NET online by kyriakos on Saturday February 03, 2018 @07:06PM (#16300451)
they re-implemented all functions in .net. The code is decompiled from bytecode thats why its incomprehensible and hence the title PHP to .NET and not PHP to C#.
Re:Compile PHP to .NET online by pchp on Sunday February 04, 2018 @03:38AM (#16301943)
Like someone below already answered, it's actually compiled to MSIL and what you're looking at is decompiled C#. All PHP functions have been reimplemented in .NET.