php面试题_雅虎.pdf
《php面试题_雅虎.pdf》由会员分享,可在线阅读,更多相关《php面试题_雅虎.pdf(3页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、【公司面试题之:【公司面试题之:Yahoo!PHPYahoo!PHP 笔试题】笔试题】1.Which of the following will not add john to the users array?复制内容到剪贴板代码:代码:1.users=john;2。array_add($users,john);3。array_push(users,john);4。$users|=john;2。Whats the difference between sort(),asort()and ksort?Under what circumstances wouldyou use each of th
2、ese?3.What would the following code print to the browser?Why?复制内容到剪贴板代码:代码:$num=10;function multiply()$num=num*10;multiply();echo$num;4。What is the difference between a reference and a regular variable?How do you pass byreference&why would you want to?5。What functions can you use to add library code
3、 to the currently running script?6。What is the difference between foo()&foo()?7.How do you debug a PHP application?8。What does=do?Whats an example of something that will give true for=,but not=?9.How would you declare a classnamed“myclass”with no methods or properties?10.How would you create an obje
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- php 试题 雅虎
限制150内