是否有任何网站提供在线测试PHP代码的环境? [英] is there any site providing environment for test php code online?

查看:111
本文介绍了是否有任何网站提供在线测试PHP代码的环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我是php的新手
我想知道是否有任何网站可以在线测试我的php代码
谢谢
vara prasad

解决方案

如果您使用Google免费php托管",您会发现很多...实际上有145,000,000次点击.

http://www.google. co.uk/search?aq=f&sourceid=chrome&ie=UTF-8&q=free+php+hosting [ http://www.apache.org/ [ http://en.wikipedia.org/wiki/Phalanger_(compiler) [ ^ ].还提供了Visual Studio插件.使用这些工具,您甚至可以使用逐步调试器!

您应该记住,Phalanger与标准" PHP有很大不同.如果您的目标是使用标准" PHP,但您想在Visual Studio中使用Phalanger进行调试,请开发和调试单独的PHP模块,并坚持使用标准"功能子集,例如,不要使用.NET绑定. />
—SA


hi i am new to php
i want to know is there is any site to test my php code on line
thank you
vara prasad

解决方案

If you google "free php hosting", you will find a lot of them... 145,000,000 hits, in fact.

http://www.google.co.uk/search?aq=f&sourceid=chrome&ie=UTF-8&q=free+php+hosting[^]


if you just want to test your php code, you can do it offline, there are a lot of free web server application package that you can install on your computer, such as xampp (apachefriends.org), you can run your code from localhost the same way as if you put it online,

but if you want to test it on a remote server, a bit of google will solve your problem, like OriginalGriff said,


Alternative approach is testing PHP on your own computer. Install Apache (http://www.apache.org/[^]), PHP and PHP module for Apache. This server is lean enough, secure and most used.

There is another approach which is good if you can use Visual Studio. You can use PHP for .NET called Phalanger, see http://en.wikipedia.org/wiki/Phalanger_(compiler)[^]. A plug-in for Visual Studio is also available. Using these tools, you can even use stepwise debugger!

You should remember though that Phalanger is very different from "standard" PHP. If your goal is using "standard" PHP but you want debugging with Phalanger under Visual Studio, develop and debug separate PHP modules and stick to a "standard" sub-set of feature, for example, do not use .NET binding.

—SA


这篇关于是否有任何网站提供在线测试PHP代码的环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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