search
Homephp教程php手册PHP 杂项函数,php杂项函数

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()

延迟代码执行若干微秒。

 

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool