[11]. 告诉浏览器禁止本页被缓存
header("Pragma: no-cache,must-revalidate")

[完成]
[13]. 开启缓冲
ob_start()

[完成]
[14]. 引入一个php文件,在执行脚本前先入引入到当前文件
require

[完成]
[16]. 声明当前文档是zip文件
header('Content-type: application/zip')

[完成]
[34]. 延时3秒后跳转到指定的URL
header("Refresh:3;url=helloworld.php")

[完成]
[35]. 取数组的所有键
array_keys($arr)

[完成]
[43]. 返回请求页面200状态码,请求正常
header('HTTP/1.1 200 OK')

[完成]
[46]. 定义常量方式1
const A='123A'

[完成]
[53]. ,按指定格式显示时间
date("y-m-d h:i:s"[,time()])

[完成]
[60]. 字符转时间戳,并加减年月日时分秒周
strtotime("+10 year +2 month +1 week -2 day +2 hour -2 Minute +5 second")

[完成]
[71]. 每个无素(值)的重复次数
array_count_values($arr)

[完成]
[78]. 返回缓冲区内容
ob_get_contents()

[完成]
[84]. 打印输出变量$str
print_r($str)

[完成]
[95]. list($a,$b,$c)=$arr 把数组元素依次赋值给$a,$b,$c 一个数组的元素依次存放至一些变量
1

[完成]
[96]. 格式化输出格林威治时间GMT
gmdate("y-m-d H:i:s",time()+3600*8)

[完成]
[100]. json转对像,或转数组
json_decode($data[,false|true])

[完成]
[105]. 删除一个变量
unset($m)

[完成]
[106]. 删除文件
unlink($filename))

[完成]
[111]. 设置脚本超时时间,-1为不限
set_time_limit(0)

[完成]
[112]. 是否为数字
is_numeric($x)

[完成]
[114]. 设置当前页面是以附件形式下载的类型
header('Content-Type: application/octet-stream'); //设置类型为所有文件
header('Content-Disposition: attachment; filename=“example.zip”'); //关键,以附件形式打开或保存,并设置下载显示的名字,注意格式
header('Content-Transfer-Encoding: binary'); //设置传输编码为 二进制
header('Content-Length: 1234'); //设置文件大小可省
readfile('example.zip'); //输出服务器文件

[完成]
[132]. 表单提交上传文件编码

[完成]
[148]. 区分大小写 返回字符串第一次出现到结束的字符串,失败则返回false
strchr($str,$substr)

[完成]
[149]. 声明当前文档是github编辑器文件
header('Content-type: application/atom+xml')

[完成]
[156]. 字符串替换
str_replace($strsub,"",$str)

[完成]
[159]. 声明强制不需要浏览器缓存
header("Cache-Control: no-cache")

[完成]
[161]. 当前页面是文档流文件,所有文件
header('Content-Type: application/octet-stream')

[完成]
[170]. 声明当前文档是pdf文件
header('Content-type: application/pdf')

[完成]
重新开始给题 | zy练习 | php练习 | 返回首页