夜雨聆风学习资料网 资料列表 开通 VIP 用登录 / 注册 ⌄
PDF

腾讯校园招聘笔试题技术类PHP工程师1_2025春招题库汇总_十大行测题库_2023年十大热门题库更新中_03、赛码汇总_2024腾讯7月更新_2017及以前

查看资料信息、公开预览和下载状态。

共 3 页PDF · 83.5KB
下载

文档在线预览

公开展示前 2 页
100%
1
《腾讯校园招聘笔试题技术类PHP工程师1_2025春招题库汇总_十大行测题库_2023年十大热门题库更新中_03、赛码汇总_2024腾讯7月更新_2017及以前》第1页预览
2
《腾讯校园招聘笔试题技术类PHP工程师1_2025春招题库汇总_十大行测题库_2023年十大热门题库更新中_03、赛码汇总_2024腾讯7月更新_2017及以前》第2页预览

本文档共 3 页 剩余 1 页未展示,请下载后查阅

下载

文档文本内容

更快更及时的了解互联网校招信息,请访问 www.gointernetgo.com ,
一起进军互联网,更有互联网前辈线上/线下分享交流
微信订阅号
PHP LAMP Engineer Test Paper
Question 1
What does <? echo count ("123") ?> print out?
m
A) 3 o
c
o.
B) False g
t
e
C) Null n
r
e
t
D) 1 n
oi
g
E) 0 w.
w
Question 2 w
网
联
互
Which of the following snippets prints a representation of 42 with two decimal places?
军
进
A) printf("%.2d\n", 42);
B) printf("%1.2f\n", 42);
C) printf("%1.2u\n", 42);
Question 3
Given
$text = 'Content-Type: text/xml';
Which of the following prints 'text/xml'?
A) print substr($text, strchr($text, ':'));
B) print substr($text, strchr($text, ':') + 1);
C) print substr($text, strpos($text, ':') + 1);
D) print substr($text, strpos($text, ':') + 2);
E) print substr($text, 0, strchr($text, ':')Question 4
What is the value of $a?
<?php
$a = in_array('01', array('1')) == var_dump('01' == 1);
?>
A) True
B) False
Question 5
What is the value of $result in the following PHP code?
<?php
function timesTwo($int) {
$int = $int * 2;
}
$int = 2;
m
o
$result = timesTwo($int); c
o.
g
?>; t
e
n
Answer: NULL e r
t
n
oi
g
w.
Question 6
w
w
The code below _________
网
__ b ecause ____________. C
联
<?php
互
军
class Foo {
进
?>
<?php
function bar() {
print "bar";
}
}
?>
A) will work, class definitions can be split up into multiple PHP blocks.
B) will not work, class definitions must be in a single PHP block.
C) will not work, class definitions must be in a single file but can be in multiple PHP
blocks.
D) will work, class definitions can be split up into multiple files and multiple PHP
blocks.更快更及时的了解互联网校招信息,请访问 www.gointernetgo.com ,
一起进军互联网,更有互联网前辈线上/线下分享交流
微信订阅号
m
o
c
o.
g
t
e
n
r
e
t
n
oi
g
w.
w
w
网
联
互
军
进