开发者

Do I need to compile my php files?

Hi i'm used to programming with ASP.Net but i got just landed a project doing PHP development.. My question is this, in ASP.Net if you make changes 开发者_开发问答in the code behind you have to recompile the app before uploading. Is it the same with PHP? I know it's not a compiled language but I want to know if I can make changes to the PHP code in a single file and upload and see my changes?

Thanks in advance!


No, you don't have to recompile. So, yes, you can immediately see your changes. It reads and parses each file as it is called which makes things quite a bit simpler.


In PHP, you don't need to recompile before uploading. Simply change the files and that's it.


PHP is an interpreted language, there is no compilation(*). So just uploading the changed code, and refreshing the browser is enough.

(*) there are compilers around to speed up execution, but that is a different matter.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜