3 ms·
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
by Avalaxy 9y ago
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?
- sebazzz 9y agoTo 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".
- kyriakos 9y agothey 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#.
- pchp 9y agoLike 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.