小白教程
所有教程
关于
Search
172.70.127.103
172.70.127.103
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Func zip entry name”的源代码
本页内容
上一节:
Func_zip_entry_filesize
下一节:
Func_zip_entry_open
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:zip_entry_name()}}[[Category:PHP Zip 函数参考手册|6]] = PHP zip_entry_name() 函数 = [[:Category:PHP Zip 函数参考手册]] == 定义和用法 == zip_entry_name() 函数返回 zip 档案的名称。 == 语法 == <pre> zip_entry_name(zip_entry) </pre> {| class="table table-striped table-hover" ! 参数 ! 描述 |- | zip_entry | 必需。规定要读取的 zip 项目资源(由 zip_read() 打开的 zip 项目)。 |} <sample title="" desc="" lang="php" hererun="1"> <?php $zip = zip_open("test.zip"); if ($zip) { while ($zip_entry = zip_read($zip)) { echo "Name: " . zip_entry_name($zip_entry) . "<br />"; } zip_close($zip); } ?> </sample> 上面的代码将输出: <pre> Name: ziptest.txt Name: htmlziptest.html </pre> [[:Category:PHP Zip 函数参考手册]]
返回至“
Func zip entry name
”。
上一节:
Func_zip_entry_filesize
下一节:
Func_zip_entry_open