The beauty of PHP is that it does not rely on the web browser at all; your script will run the same way whatever browser you use. When writing server-side code, you do not need to worry about JavaScript being enabled or about compatibility with older browsers beyond the ability to display HTML that your script generates or is embedded in.
參考答案:PHP脚本语言的优点在于它完全不依赖网络浏览器;你所编写的脚本在任何浏览器上都可以正常运行。在编写服务器端的代码时,你不用特意开启对Java脚本的支持,也不必担心与旧版本的浏览器的兼容问题,旧版本的浏览器通常不能显示自动生成脚本和有脚本嵌入的HTML页面。