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#.
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.
Comments
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?
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".
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#.
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.