排序
die
PHP die() 函数定义和用法die() 函数输出一条消息,并退出当前脚本。该函数是 exit() 函数的别名。语法die(status)参数描述status必需。规定在退出脚本之前写入的消息或状态号。状态号不会...
defined
PHP defined() 函数定义和用法defined() 函数检查某常量是否存在。若常量存在,则返回 true,否则返回 false。语法defined(name)参数描述name必需。规定要检查的常量的名称。例子输出:1
define
PHP define() 函数定义和用法define() 函数定义一个常量。常量类似变量,不同之处在于:在设定以后,常量的值无法更改常量名不需要开头的美元符号 ($)作用域不影响对常量的访问常量值只能是字...
connection_aborted
PHP connection_aborted() 函数定义和用法connection_aborted() 函数检查是否断开客户机。如果已终止连接,则该函返回 1,否则返回 0。语法connection_aborted()例子创建一个函数,在客户机终...
constant
PHP constant() 函数定义和用法constant() 函数返回常量的值。语法constant(constant)参数描述constant必需。规定要检查的常量的名称。提示和注释注释:该函数仅适用于 class 常量。例子输出...
connection_status
PHP connection_status() 函数定义和用法connection_status() 函数返回当前的连接状态。可返回的可能值:0 - CONNECTION_NORMAL - 连接运行正常1 - CONNECTION_ABORTED - 连接由用户或网络错...
zip_read
PHP zip_read() 函数定义和用法zip_read() 函数读取打开的 zip 档案中的下一个文件。如果成功,则返回包含 zip 档案中一个文件的资源。如果没有更多的项目可供读取,则返回 false。语法zip_re...
zip_open
PHP zip_open() 函数定义和用法zip_open() 函数打开 ZIP 文件以供读取。如果成功,则返回 zip 文件档案资源。如果失败,则返回 false。语法zip_open(filename)参数描述filename必需。规定要打...
zip_entry_read
PHP zip_entry_read() 函数定义和用法zip_entry_read() 函数从打开的 zip 档案项目中获取内容。如果成功,则返回项目的内容。如果失败,则返回 false。语法zip_entry_read(zip_entry,length)...
zip_entry_open
PHP zip_entry_open() 函数定义和用法zip_entry_open() 函数打开一个 ZIP 档案项目以供读取。语法zip_entry_open(zip,zip_entry,mode)参数描述zip必需。规定要读取的 zip 资源(由 zip_open()...
