Downloads
Documentation
Get Involved
Help
Search docs
PHP 8.4.2 Released!
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
GeoIP »
« SyncSharedMemory::write
PHP 手册
函数参考
切换语言:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
其它基本扩展
GeoIP
— Geo IP 定位
简介
安装/配置
预定义常量
GeoIP 函数
FANN
— FANN (快速人工神经网络)
简介
安装/配置
预定义常量
示例
Fann 函数
FANNConnection
— FANNConnection 类
Igbinary
简介
安装/配置
Igbinary 函数
JSON
— JavaScript 对象表示法(JSON)
简介
安装/配置
预定义常量
JsonException
— JsonException 类
JsonSerializable
— JSON 序列化接口
JSON 函数
Simdjson
简介
安装/配置
预定义常量
Simdjson 函数
SimdJsonException
— The SimdJsonException class
SimdJsonValueError
— The SimdJsonValueError class
Lua
简介
安装/配置
Lua
— Lua类
LuaClosure
— LuaClosure类
LuaSandbox
简介
安装/配置
Differences from Standard Lua
示例
LuaSandbox
— The LuaSandbox class
LuaSandboxFunction
— The LuaSandboxFunction class
LuaSandboxError
— The LuaSandboxError class
LuaSandboxErrorError
— The LuaSandboxErrorError class
LuaSandboxFatalError
— The LuaSandboxFatalError class
LuaSandboxMemoryError
— The LuaSandboxMemoryError class
LuaSandboxRuntimeError
— The LuaSandboxRuntimeError class
LuaSandboxSyntaxError
— The LuaSandboxSyntaxError class
LuaSandboxTimeoutError
— The LuaSandboxTimeoutError class
杂项
— 杂项函数
简介
安装/配置
预定义常量
杂项 函数
更新日志
Random
— 随机数生成器和相关随机函数
简介
预定义常量
示例
Random 函数
Random\Randomizer
— The Random\Randomizer class
Random\Engine
— The Random\Engine interface
Random\CryptoSafeEngine
— The Random\CryptoSafeEngine interface
Random\Engine\Secure
— The Random\Engine\Secure class
Random\Engine\Mt19937
— Random\Engine\Mt19937 类
Random\Engine\PcgOneseq128XslRr64
— The Random\Engine\PcgOneseq128XslRr64 class
Random\Engine\Xoshiro256StarStar
— Random\Engine\Xoshiro256StarStar 类
Random\RandomError
— The Random\RandomError class
Random\BrokenRandomEngineError
— The Random\BrokenRandomEngineError class
Random\RandomException
— The Random\RandomException class
SeasLog
简介
安装/配置
预定义常量
示例
Seaslog 函数
SeasLog
— The SeasLog class
SPL
— PHP 标准库(SPL)
Interfaces
Datastructures
Exceptions
Iterators
File Handling
SPL 函数
Stream
简介
安装/配置
预定义常量
Stream 过滤
Stream Contexts
Stream Errors
示例
php_user_filter
— The php_user_filter class
streamWrapper
— streamWrapper 类
Stream 函数
Swoole
简介
安装/配置
预定义常量
Swoole 函数
Swoole\Async
— The Swoole\Async class
Swoole\Atomic
— The Swoole\Atomic class
Swoole\Buffer
— The Swoole\Buffer class
Swoole\Channel
— The Swoole\Channel class
Swoole\Client
— The Swoole\Client class
Swoole\Connection\Iterator
— The Swoole\Connection\Iterator class
Swoole\Coroutine
— The Swoole\Coroutine class
Swoole\Event
— The Swoole\Event class
Swoole\Exception
— The Swoole\Exception class
Swoole\Http\Client
— The Swoole\Http\Client class
Swoole\Http\Request
— The Swoole\Http\Request class
Swoole\Http\Response
— The Swoole\Http\Response class
Swoole\Http\Server
— The Swoole\Http\Server class
Swoole\Lock
— The Swoole\Lock class
Swoole\Mmap
— The Swoole\Mmap class
Swoole\MySQL
— The Swoole\MySQL class
Swoole\MySQL\Exception
— The Swoole\MySQL\Exception class
Swoole\Process
— The Swoole\Process class
Swoole\Redis\Server
— The Swoole\Redis\Server class
Swoole\Serialize
— The Swoole\Serialize class
Swoole\Server
— The Swoole\Server class
Swoole\Table
— The Swoole\Table class
Swoole\Timer
— The Swoole\Timer class
Swoole\WebSocket\Frame
— The Swoole\WebSocket\Frame class
Swoole\WebSocket\Server
— The Swoole\WebSocket\Server class
Tidy
简介
安装/配置
预定义常量
示例
tidy
— The tidy class
tidyNode
— The tidyNode class
Tidy 函数
Tokenizer
简介
安装/配置
预定义常量
示例
PhpToken
— The PhpToken class
Tokenizer 函数
URLs
简介
预定义常量
URL 函数
V8js
— V8 Javascript Engine Integration
简介
安装/配置
示例
V8Js
— The V8Js class
V8JsException
— The V8JsException class
Yaml
— YAML 数据序列化
简介
安装/配置
预定义常量
示例
Callbacks
Yaml 函数
Yaf
— Yet Another Framework
简介
安装/配置
预定义常量
示例
应用程序配置
Yaf_Application
— Yaf_Application 类
Yaf_Bootstrap_Abstract
— Yaf_Bootstrap_Abstract 类
Yaf_Dispatcher
— Yaf_Dispatcher 类
Yaf_Config_Abstract
— Yaf_Config_Abstract 类
Yaf_Config_Ini
— Yaf_Config_Ini 类
Yaf_Config_Simple
— Yaf_Config_Simple 类
Yaf_Controller_Abstract
— Yaf_Controller_Abstract 类
Yaf_Action_Abstract
— Yaf_Action_Abstract 类
Yaf_View_Interface
— Yaf_View_Interface 类
Yaf_View_Simple
— Yaf_View_Simple 类
Yaf_Loader
— Yaf_Loader 类
Yaf_Plugin_Abstract
— Yaf_Plugin_Abstract 类
Yaf_Registry
— Yaf_Registry 类
Yaf_Request_Abstract
— Yaf_Request_Abstract 类
Yaf_Request_Http
— The Yaf_Request_Http class
Yaf_Request_Simple
— Yaf_Request_Simple 类
Yaf_Response_Abstract
— Yaf_Response_Abstract 类
Yaf_Route_Interface
— Yaf_Route_Interface 类
Yaf_Route_Map
— Yaf_Route_Map 类
Yaf_Route_Regex
— Yaf_Route_Regex 类
Yaf_Route_Rewrite
— Yaf_Route_Rewrite 类
Yaf_Router
— Yaf_Router 类
Yaf_Route_Simple
— Yaf_Route_Simple 类
Yaf_Route_Static
— Yaf_Route_Static 类
Yaf_Route_Supervar
— Yaf_Route_Supervar 类
Yaf_Session
— Yaf_Session 类
Yaf_Exception
— Yaf_Exception 类
Yaf_Exception_TypeError
— Yaf_Exception_TypeError 类
Yaf_Exception_StartupError
— Yaf_Exception_StartupError 类
Yaf_Exception_DispatchFailed
— Yaf_Exception_DispatchFailed 类
Yaf_Exception_RouterFailed
— Yaf_Exception_RouterFailed 类
Yaf_Exception_LoadFailed
— Yaf_Exception_LoadFailed 类
Yaf_Exception_LoadFailed_Module
— Yaf_Exception_LoadFailed_Module 类
Yaf_Exception_LoadFailed_Controller
— Yaf_Exception_LoadFailed_Controller 类
Yaf_Exception_LoadFailed_Action
— Yaf_Exception_LoadFailed_Action 类
Yaf_Exception_LoadFailed_View
— Yaf_Exception_LoadFailed_View 类
Yaconf
简介
安装/配置
Yaconf
— The Yaconf class
Taint
简介
安装/配置
More Details
Taint 函数
Data Structures
简介
安装/配置
示例
Ds\Collection
— The Collection interface
Ds\Hashable
— The Hashable interface
Ds\Sequence
— The Sequence interface
Ds\Vector
— The Vector class
Ds\Deque
— The Deque class
Ds\Map
— The Map class
Ds\Pair
— The Pair class
Ds\Set
— The Set class
Ds\Stack
— The Stack class
Ds\Queue
— The Queue class
Ds\PriorityQueue
— The PriorityQueue class
var_representation
简介
安装/配置
预定义常量
var_representation 函数
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google