大牛们好,php新手问几个面试题

stalendp stalendp 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

1.
$a = 3;
$b = 2;
echo (int)$a/(int)$b

为什么输出是 1.5?


2.
How can you hide the fact that web pages are written in PHP?
a. By using AddType application/X-httpd-php asp
b. Specify all file names without any dot and extension
c. By using .htaccess diretive in Apeche
d. All of the above

3.
解释一下Using Register Globals。




...全文
评论 10
收藏 已收藏
分享
返回顶部
stalendp
基础编程 21,889 成员 140,329 内容