PHP 杂项函数,php杂项函数_PHP教程

WBOY
Release: 2016-07-13 09:55:00
Original
1289 people have browsed it

PHP 杂项函数,php杂项函数

函数

描述

connection_aborted()

检查是否断开客户机。

connection_status()

返回当前的连接状态。

connection_timeout()

在 PHP 4.0.5 中不赞成使用。

constant()

返回一个常量的值。

define()

定义一个常量。

defined()

检查某常量是否存在。

die()

输出一条消息,并退出当前脚本。

eval()

把字符串按照 PHP 代码来计算。

exit()

输出一条消息,并退出当前脚本。

get_browser()

返回用户浏览器的性能。

highlight_file()

对文件进行语法高亮显示。

highlight_string()

对字符串进行语法高亮显示。

ignore_user_abort()

设置与客户机断开是否会终止脚本的执行。

pack()

把数据装入一个二进制字符串。

php_check_syntax()

在 PHP 5.0.5 中不赞成使用。

php_strip_whitespace()

返回已删除 PHP 注释以及空白字符的源代码文件。

show_source()

highlight_file() 的别名。

sleep()

延迟代码执行若干秒。

time_nanosleep()

延迟代码执行若干秒和纳秒。

time_sleep_until()

延迟代码执行指定的时间。

uniqid()

生成唯一的 ID。

unpack()

从二进制字符串对数据进行解包。

usleep()

延迟代码执行若干微秒。

 

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/993271.htmlTechArticlePHP 杂项函数,php杂项函数 函数 描述 connection_aborted() 检查是否断开客户机。 connection_status() 返回当前的连接状态。 connection_timeout() 在PHP4...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!