在eclipse中运行php脚本和php网页有什么区别?

问题描述:

I am a newbie to php and have been trying to use Eclipse PDT for my php work. I have found that there are two options that I can use for a php page from eclipse pdt

 Run as php script and Run as php web page

but wondering what is the exact difference between those.

Also, I want to know if the difference is eclipse specific or an attribute of PHP.

我是php的新手,并且一直在尝试使用Eclipse PDT进行我的php工作。 我发现有两个选项我可以用于eclipse pdt的php页面 p>

 以php脚本运行并运行为php网页
  code>  
 
 

但想知道它们之间的确切区别。 p>

另外,我想知道区别是eclipse特定还是PHP的属性。 div>

I shall take a wild guess here, Run as script would RUN from PHP Console i.e. CLI and Run as web page is pretty self explanatory