下载
文档
参与
帮助
全栈开发网
基金会
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
简介 »
« LuaSandboxTimeoutError
PHP 手册
函数参考
其它基本扩展
切换语言:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
杂项函数
简介
安装/配置
运行时配置
预定义常量
杂项 函数
connection_aborted
— 检查客户端是否已经断开
connection_status
— 返回连接的状态位
constant
— 返回一个常量的值
define
— 定义一个常量
defined
— 检查给定名称的常量是否存在
die
— 等同于 exit
eval
— 把字符串作为PHP代码执行
exit
— 输出一个消息并且退出当前脚本
get_browser
— 获取浏览器具有的功能
__halt_compiler
— 中断编译器的执行
highlight_file
— 语法高亮一个文件
highlight_string
— 字符串的语法高亮
hrtime
— 获取系统的高精度时间
ignore_user_abort
— 设置客户端断开连接时是否中断脚本的执行
pack
— 将数据打包成二进制字符串
php_strip_whitespace
— 返回删除注释和空格后的PHP源码
sapi_windows_cp_conv
— Convert string from one codepage to another
sapi_windows_cp_get
— Get current codepage
sapi_windows_cp_is_utf8
— Indicates whether the codepage is UTF-8 compatible
sapi_windows_cp_set
— Set process codepage
sapi_windows_generate_ctrl_event
— Send a CTRL event to another process
sapi_windows_set_ctrl_handler
— Set or remove a CTRL event handler
sapi_windows_vt100_support
— Get or set VT100 support for the specified stream associated to an output buffer of a Windows console.
show_source
— 别名 highlight_file
sleep
— 延缓执行
sys_getloadavg
— 获取系统的负载(load average)
time_nanosleep
— 延缓执行若干秒和纳秒
time_sleep_until
— 使脚本睡眠到指定的时间为止
uniqid
— 生成一个唯一ID
unpack
— Unpack data from binary string
usleep
— 以指定的微秒数延迟执行
更新日志
改进此页面
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google