腾讯 2022年PHP工程师面试题(应聘 求职 面试准备资料).docx

上传人:太** 文档编号:35990083 上传时间:2022-08-24 格式:DOCX 页数:4 大小:9.52KB
返回 下载 相关 举报
腾讯 2022年PHP工程师面试题(应聘 求职 面试准备资料).docx_第1页
第1页 / 共4页
腾讯 2022年PHP工程师面试题(应聘 求职 面试准备资料).docx_第2页
第2页 / 共4页
点击查看更多>>
资源描述

《腾讯 2022年PHP工程师面试题(应聘 求职 面试准备资料).docx》由会员分享,可在线阅读,更多相关《腾讯 2022年PHP工程师面试题(应聘 求职 面试准备资料).docx(4页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、腾讯2022年PHP工程师面试题第1题:Question 1 What does ? echo count (,123n) ? print out?A)3B) False C) Null D) 1 E) 0第2题:Which of the following snippets prints a representation of 42 with two decimal places?A) printf(,%.2dnn, 42);B) printf(,%1.2fnM, 42);C) printf(,%1.2unM, 42);第3题:Given $text = Content-Type: text

2、/xml1; Which of the following prints text/xml?AjprintsubstrfStexstrchrlStext/:1);BjprintsubstrfStexttrchrlStext/J+l);C)printsubstr($text,strpos($text,:l)+1);D)printsubstr($text,strpos($text/:l)+2);-1-E) printsubstrfStexOtrchrtStext/:1)第4题:Whatisthevalueof$a?php $a=in_array(,01,array(,l,)=var_dump(,0

3、1,=l);*A)TrueB)False第5题:Whatisthevalueof$resultinthefollowingPHPcode?phpfunctiontimesTwo($int)$int=$int*2;)-2-$int=2;$result=timesTwo($int);?7NULL第6题:Thecodebelow because . C?phpclassFoo?phpfunctionbar()pnnt,bar,1;)A)willwork,classdefinitionscanbesplitupintomultiplePHPblocks.-3-B)willnotwork,classdefinitionsmustbeinasinglePHPblock.C)willnotwork,classdefinitionsmustbeinasinglefilebutcanbeinmultiplePHP blocks.D)willwork,classdefinitionscanbesplitupintomultiplefilesandmultiplePHP blocks.4

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 应用文书 > 解决方案

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁