I have a business logic classes that are written in pure C# (without any specific things from this language) and I would convert this code into PHP. I can write my own parser, but think if I could someone did it before me.
Could you please tell me where can I find this kind of converter?
Ps. As I've written I use only plain C# programming in this language. Only arguments, declarations of variables, equations and control statements.
The jsc project can convert .net/C# to PHP for you.
I know you're hoping for someone who had experience but in case no one comes forward...
You might consider just copy and pasting the code into a PHP script and checking what breaks. Write a parser to fix that, run it across the entire script, and see what's the next thing that breaks. Continue until the script functions as expected.
If you're not using any of the more involved .Net classes I can't imagine you'll have too much trouble.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With