Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:
布尔型boolean 整型int 字符串string 浮点型float
分为数组和对象
分为null和resource
<?php
var_dump($_GET['page']);
?>
<?php
$res = null + '199';
var_dump($res);
?>
<?php
@var_dump($email);
?>
<?php
settype($z,'integer');
echo gettype($z);
?>
<?php
const USER_NOT_EXSIT = '用户名称';
echo json_encode(['msg'=>USER_NOT_EXSIT],320);
printf('邮箱:%s',null);
?>
<?php
$a1 = 1314;
$b2 = &$a1;
printf('$a1的值为%d,$b2的值为%d<br>',$a1,$b2);
$a1 = 5200;
printf('$a1的值为%d,$b2的值为%d<br>',$a1,$b2);
?>