如何将PHP代码转换为c代码 [英] how to convert php code into c sharp code

查看:120
本文介绍了如何将PHP代码转换为c代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
i在php中有代码用于创建一个类来生成XML文件使用那些php类如何配置API服务

或者我如何转换这些php代码到C#代码?

hi i have code in php which is used to create a class to generate the XML File using those php class how can i configure API services
or how can i convert those php codes into C# code?

推荐答案

您可以使用编译PHP代码这个 [ ^ ] for .Net然后在你的.net代码中使用它。



MSDN上有一些叫做迁移助手的东西,不知道它是否已经存在。



BTW我认为将工具转换为c#有点困难,因为它们具有完全不同的结构和行为。
You can compile your PHP code using this[^] for .Net and then use it in your .net code.

There was something called Migration assistant available earlier on MSDN not sure if it exists anymore.

BTW I think it is a bit difficult for a tool to convert php to c# since they have quite different structure and behavior.


这篇关于如何将PHP代码转换为c代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆