开发者

C# to php translator

Is there a C# to开发者_开发百科 php translator (capable of dealing with byte operations, TCPSockets)?


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 fsockopen or the socket extension. For byte operations, they work the same in PHP and C#.


Whilst I wouldn't deem it wise to attempt this, in the interest of answering your question I'd like to nevertheless direct you to this question. You might also find use in this site too. Good luck :)


Before i'm started searching in Google "c# to php converter online" - i know already that i will find nothing... So really, its not possible convert between frameworks. Only hand job.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜