Is there a C# to php translator (capable of dealing with byte operations, TCPSockets)?
Is there a C# to php translator (capable of dealing with byte operations, TCPSockets)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
your language to another language is never extremely hard to achieve, assuming that both are Turing-complete. The real problem comes from your framework to another framework. The .NET Framework is much more capable than the PHP library. For instance, if your C# application uses threads, your PHP port is doomed.
So, no, there is no C# to PHP translator available, except real people. At least, as far as I know.
There are, however, TCP sockets in PHP, available through
fsockopenor thesocketextension. For byte operations, they work the same in PHP and C#.