Table of Contents
PHP 杂项函数,php杂项函数
Home php教程 php手册 PHP 杂项函数,php杂项函数

PHP 杂项函数,php杂项函数

Jun 13, 2016 am 09:05 AM

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

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

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)