php 中文手册
pre: next:

imap_search

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_search — This function returns an array of messages matching the given search criteria

说明

imap_search(
    IMAP\Connection $imap,
    string $criteria,
    int $flags = SE_FREE,
    string $charset = ""
): array|false

This function performs a search on the mailbox currently opened in the given IMAP stream.

For example, to match all unanswered messages sent by Mom, you'd use: "UNANSWERED FROM mom". Searches appear to be case insensitive. This list of criteria is from a reading of the UW c-client source code and may be incomplete or inaccurate (see also » RFC1176, section "tag SEARCH search_criteria").

参数

imap

IMAP\Connection 实例。

criteria

A string, delimited by spaces, in which the following keywords are allowed. Any multi-word arguments (e.g. FROM "joey smith") must be quoted. Results will match all criteria entries.

  • ALL - return all messages matching the rest of the criteria
  • ANSWERED - match messages with the \\ANSWERED flag set
  • BCC "string" - match messages with "string" in the Bcc: field
  • BEFORE "date" - match messages with Date: before "date"
  • BODY "string" - match messages with "string" in the body of the message
  • CC "string" - match messages with "string" in the Cc: field
  • DELETED - match deleted messages
  • FLAGGED - match messages with the \\FLAGGED (sometimes referred to as Important or Urgent) flag set
  • FROM "string" - match messages with "string" in the From: field
  • KEYWORD "string" - match messages with "string" as a keyword
  • NEW - match new messages
  • OLD - match old messages
  • ON "date" - match messages with Date: matching "date"
  • RECENT - match messages with the \\RECENT flag set
  • SEEN - match messages that have been read (the \\SEEN flag is set)
  • SINCE "date" - match messages with Date: after "date"
  • SUBJECT "string" - match messages with "string" in the Subject:
  • TEXT "string" - match messages with text "string"
  • TO "string" - match messages with "string" in the To:
  • UNANSWERED - match messages that have not been answered
  • UNDELETED - match messages that are not deleted
  • UNFLAGGED - match messages that are not flagged
  • UNKEYWORD "string" - match messages that do not have the keyword "string"
  • UNSEEN - match messages which have not been read yet

flags

Valid values for flags are SE_UID, which causes the returned array to contain UIDs instead of messages sequence numbers.

charset

MIME character set to use when searching strings.

返回值

Returns an array of message numbers or UIDs.

Return false if it does not understand the search criteria or no messages have been found.

更新日志

版本 说明
8.1.0 现在 imap 参数接受 IMAP\Connection 实例,之前接受有效的 imap resource。

示例

示例 #1 imap_search() example

<?php
$imap
= imap_open('{imap.example.com:993/imap/ssl}INBOX', 'foo@example.com', 'pass123', OP_READONLY);

$some = imap_search($imap, 'SUBJECT "HOWTO be Awesome" SINCE "8 August 2008"', SE_UID);
$msgnos = imap_search($imap, 'ALL');
$uids = imap_search($imap, 'ALL', SE_UID);

print_r($some);
print_r($msgnos);
print_r($uids);
?>

以上示例的输出类似于:

Array
(
    [0] => 4
    [1] => 6
    [2] => 11
)
Array
(
    [0] => 1
    [1] => 2
    [2] => 3
    [3] => 4
    [4] => 5
    [5] => 6
)
Array
(
    [0] => 1
    [1] => 4
    [2] => 6
    [3] => 8
    [4] => 11
    [5] => 12
)

参见

  • imap_listscan() - Returns the list of mailboxes that matches the given text

  • 版权信息
  • 序言 — 关于本手册
  • 入门指引
    • 简介 — PHP是什么并且可以做什么?
    • 简明教程
      • 第一个 PHP 页面
      • 实用的脚本
      • 处理表单
      • 下一步做什么?
  • 安装与配置
    • 安装前需要考虑的事项
    • 在 Unix 系统上安装 PHP
      • Debian GNU/Linux 及其相关发行版上从软件包中安装 PHP
      • 在使用 DNF 的 GNU/Linux 发行版上通过软件包安装
      • OpenBSD 上从软件包或者 ports 中安装 PHP
      • 在 Unix 和 macOS 系统上以源码安装
      • CGI 和命令行设置
      • Unix 系统下的 Apache 2.x
      • Unix 系统下的 Nginx 1.4.x
      • Unix 平台的 Lighttpd 1.4
      • Unix 系统下的 LiteSpeed、OpenLiteSpeed Web 服务器
      • 针对 Solaris 的安装提示
    • macOS 系统下的安装
      • 在 MacOS 上使用第三方包安装
      • 在 macOS 下编译 PHP
      • 使用 macOS Monterey 之前内置的 PHP
    • Windows 系统下的安装
      • Windows 系统下的推荐配置
      • 手动安装预编译的二进制文件
      • 在Windows系统上安装 Apache 2.x
      • Windows 上与 IIS 安装
      • 用于安装 PHP 的第三方工具
      • 从源程序编译
      • 在 Windows 系统的命令行上运行 PHP
    • 云计算平台上的安装
      • Azure 应用服务
      • Amazon EC2
      • DigitalOcean
    • FastCGI 进程管理器(FPM)
      • 安装
      • 配置
    • PECL 扩展安装
      • PECL 安装介绍
      • 下载 PECL 扩展库
      • 在 Windows 上安装 PHP 扩展
      • 用 PEAR 编译共享 PECL 扩展库
      • 用 phpize 编译共享 PECL 扩展库
      • php-config
      • 将 PECL 扩展库静态编译入 PHP
    • Composer 简介
    • PIE 简介
    • 运行时配置
      • 配置文件
      • .user.ini 文件
      • 配置可被设定范围
      • 怎样修改配置设定
  • 语言参考
    • 基本语法
      • PHP 标签
      • 从 HTML 中分离
      • 指令分隔符
      • 注释
    • 类型
      • 简介
      • 类型系统
      • NULL
      • Boolean 布尔类型
      • Integer 整型
      • Float 浮点型
      • String 字符串
      • 数字字符串
      • Array 数组
      • Object 对象
      • Enum 枚举
      • Resource 资源类型
      • Callable
      • Mixed
      • Void
      • Never
      • 相对类类型
      • 单例类型
      • Iterable 可迭代对象
      • 类型声明
      • 类型转换
    • 变量
      • 基础
      • 预定义变量
      • 变量作用域
      • 可变变量
      • 来自 PHP 之外的变量
    • 常量
      • 语法
      • 预定义常量
      • 魔术常量
    • 表达式
    • 运算符
      • 运算符优先级
      • 算术
      • 递增/递减
      • 赋值
      • 位
      • 比较
      • 错误控制
      • 执行
      • 逻辑
      • 字符串
      • 数组
      • 类型
      • 函数式
    • 流程控制
      • 简介
      • if
      • else
      • elseif/else if
      • 流程控制的替代语法
      • while
      • do-while
      • for
      • foreach
      • break
      • continue
      • switch
      • match
      • declare
      • return
      • require
      • include
      • require_once
      • include_once
      • goto
    • 函数
      • 用户自定义函数
      • 函数的参数和参数值
      • 返回值
      • 可变函数
      • 内部(内置)函数
      • 匿名函数
      • 箭头函数
      • 一级可调用语法
    • 类与对象
      • 简介
      • 基本概念
      • 属性
      • Property Hooks
      • 类常量
      • 类的自动加载
      • 构造函数和析构函数
      • 访问控制(可见性)
      • 对象继承
      • 范围解析操作符 (::)
      • 静态(static)关键字
      • 抽象类
      • 对象接口
      • Trait
      • 匿名类
      • 重载
      • 遍历对象
      • 魔术方法
      • Final 关键字
      • 对象复制
      • 对象比较
      • 后期静态绑定
      • 对象和引用
      • 对象序列化
      • 协变与逆变
      • 延迟对象
      • OOP 变更日志
    • 概述
      • 命名空间概述
      • 命名空间
      • 子命名空间
      • 在一个文件中定义多个命名空间
      • 基础
      • 命名空间和动态语言特征
      • namespace 关键字和 __NAMESPACE__
      • 别名和导入
      • 全局空间
      • 回退到全局空间
      • 名称解析规则
      • FAQ
      — 命名空间概述
    • 枚举
      • 枚举概览
      • 枚举基础
      • 带值(回退)枚举
      • 枚举方法
      • 枚举静态方法
      • 枚举常量
      • Trait
      • 常量表达式的枚举值
      • 和对象的差异
      • 枚举值清单
      • 序列化
      • 为什么枚举不可扩展
      • 示例
    • 错误
      • 基础概要
      • PHP 7 错误处理
    • 异常
      • 扩展(extend)异常处理类
    • 纤程
    • 生成器
      • 生成器总览
      • 生成器语法
      • 生成器与 Iterator 对象的比较
    • 注解
      • 注解概览
      • 注解语法
      • 使用反射 API 读取注解
      • 声明注解类
    • 引用的解释
      • 引用是什么
      • 引用做什么
      • 引用不是什么
      • 引用传递
      • 引用返回
      • 取消引用
      • 引用定位
    • 预定义变量
      • 超全局变量 — 在全部作用域中始终可用的内置变量
      • $GLOBALS — 引用全局作用域中可用的全部变量
      • $_SERVER — 服务器和执行环境信息
      • $_GET — 查询字符串变量
      • $_POST — 来自 HTTP POST 请求的表单数据
      • $_FILES — HTTP 文件上传变量
      • $_REQUEST — HTTP Request 变量
      • $_SESSION — Session 变量
      • $_ENV — 环境变量
      • $_COOKIE — HTTP Cookies
      • $php_errormsg — 前一个错误信息
      • $http_response_header — HTTP 响应头
      • $argc — 传递给脚本的参数数目
      • $argv — 传递给脚本的参数数组
    • 预定义异常
      • Exception
      • ErrorException
      • ClosedGeneratorException
      • Error
      • ArgumentCountError
      • ArithmeticError
      • AssertionError
      • DivisionByZeroError
      • CompileError
      • ParseError
      • TypeError
      • ValueError
      • UnhandledMatchError
      • FiberError
      • RequestParseBodyException
    • 预定义接口和类
      • Traversable
      • Iterator
      • IteratorAggregate
      • InternalIterator
      • Throwable
      • Countable
      • ArrayAccess
      • Serializable
      • Closure
      • stdClass
      • Generator
      • Fiber
      • WeakReference
      • WeakMap
      • Stringable
      • UnitEnum
      • BackedEnum
      • SensitiveParameterValue
      • __PHP_Incomplete_Class
    • 预定义注解
      • Attribute
      • AllowDynamicProperties
      • Deprecated
      • Override
      • ReturnTypeWillChange
      • SensitiveParameter
    • 上下文(Context)选项和参数
      • 套接字上下文选项 — 套接字上下文选项列表
      • HTTP context 选项 — HTTP context 的选项列表
      • FTP 上下文选项 — FTP 上下文选项列表
      • SSL 上下文选项 — SSL 上下文选项清单
      • Phar 上下文(context)选项 — Phar 上下文(context)选项列表
      • Context 参数 — Context 参数列表
      • Zip 上下文选项 — Zip 上下文选项列表
      • Zlib 上下文选项 — Zlib 上下文选项列表
    • 支持的协议和封装协议
      • file:// — 访问本地文件系统
      • http:// — 访问 HTTP(s) 网址
      • ftp:// — 访问 FTP(s) URLs
      • php:// — 访问各个输入/输出流(I/O streams)
      • zlib:// — 压缩流
      • data:// — 数据(RFC 2397)
      • glob:// — 查找匹配的文件路径模式
      • phar:// — PHP 归档
      • ssh2:// — 安全外壳协议 2
      • rar:// — RAR
      • ogg:// — 音频流
      • expect:// — 处理交互式的流
  • 安全
    • 简介
    • 总则
    • 以 CGI 模式安装时
      • 可能受到的攻击
      • 情形一:只运行公开的文件
      • 情形二:使用 cgi.force_redirect
      • 情形三:设置 doc_root 或 user_dir
      • 情形四:PHP 解释器放在 web 目录以外
    • 以 Apache 模块安装时
    • 会话(Session)安全
    • 文件系统安全
      • 空字符(Null bytes)相关问题
    • 数据库安全
      • 设计数据库
      • 连接数据库
      • 加密存储模型
      • SQL 注入
    • 错误报告
    • 用户提交的数据
    • 隐藏 PHP
    • 保持更新
  • 特点
    • 用 PHP 进行 HTTP 认证
    • Cookie
    • 会话
    • 文件上传处理
      • POST 方法上传
      • 错误信息说明
      • 常见缺陷
      • 上传多个文件
      • 对 PUT 方法的支持
      • 参见
    • 使用远程文件
    • 连接处理
    • 持久数据库连接
    • PHP 的命令行模式
      • 和其它 SAPI 模块的区别
      • 选项
      • 用法
      • I/O 流
      • 交互式 shell
      • 内置 Web Server
      • INI 配置
    • 垃圾回收
      • 引用计数基础
      • 回收循环
      • 性能方面考虑的因素
    • DTrace 动态跟踪
      • PHP 和 DTrace 介绍
      • 使用 PHP 和 DTrace
      • 使用 SystemTap 监控 PHP DTrace 静态探针
  • 函数参考
    • 影响 PHP 行为的扩展
      • APCu — APC 用户缓存
        • 简介
        • 安装/配置
        • 预定义常量
        • APCu 函数
        • APCUIterator — APCUIterator 类
      • Componere
        • 简介
        • 安装/配置
        • Componere\Abstract\Definition — The Componere\Abstract\Definition class
        • Componere\Definition — The Componere\Definition class
        • Componere\Patch — The Componere\Patch class
        • Componere\Method — The Componere\Method class
        • Componere\Value — The Componere\Value class
        • Componere 函数
      • 错误处理 — 错误处理和日志记录
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • 错误处理 函数
      • FFI — 外部函数接口
        • 简介
        • 安装/配置
        • 示例
        • FFI — C 代码和数据的主接口
        • FFI\CData — C Data Handles
        • FFI\CType — C Type Handles
        • FFI\Exception — FFI Exceptions
        • FFI\ParserException — FFI Parser Exceptions
      • OPcache
        • 简介
        • 安装/配置
        • 预加载
        • OPcache 函数
      • 输出控制 — 输出缓冲控制
        • 简介
        • 安装/配置
        • 预定义常量
        • 输出缓冲
        • 冲刷系统缓冲区
        • 用户级输出缓冲区
        • 示例
        • 输出控制 函数
      • PHP 选项/信息 — PHP 选项和信息
        • 简介
        • 安装/配置
        • 预定义常量
        • PHP 选项/信息 函数
      • phpdbg — Interactive PHP Debugger
        • 简介
        • 安装/配置
        • 预定义常量
        • phpdbg 函数
      • runkit7
        • 简介
        • 安装/配置
        • 预定义常量
        • runkit7 函数
      • uopz — User Operations for Zend
        • 简介
        • 安装/配置
        • 预定义常量
        • Uopz 函数
      • WinCache — Windows Cache for PHP
        • 简介
        • 安装/配置
        • WinCache 函数
        • Building for Windows
      • Xhprof — 层次式性能分析器
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Xhprof 函数
      • Yac
        • 简介
        • 安装/配置
        • 预定义常量
        • Yac — The Yac class
    • 音频格式操作
      • OpenAL — OpenAL Audio Bindings
        • 简介
        • 安装/配置
        • 预定义常量
        • OpenAL 函数
    • 身份认证服务
      • Radius
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Radius 函数
    • 针对命令行的扩展
      • Readline — GNU Readline
        • 简介
        • 安装/配置
        • 预定义常量
        • Readline 函数
    • 压缩与归档扩展
      • Bzip2
        • 简介
        • 安装/配置
        • 示例
        • Bzip2 函数
      • LZF
        • 简介
        • 安装/配置
        • LZF 函数
      • Phar
        • 简介
        • 安装/配置
        • 预定义常量
        • Using Phar Archives
        • Creating Phar Archives
        • What makes a phar a phar and not a tar or a zip?
        • Phar — The Phar class
        • PharData — The PharData class
        • PharFileInfo — The PharFileInfo class
        • PharException — The PharException class
      • Rar — Rar Archiving
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Rar 函数
        • RarArchive — The RarArchive class
        • RarEntry — The RarEntry class
        • RarException — The RarException class
      • Zip
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • ZipArchive — ZipArchive 类
        • Zip 函数
      • Zlib — Zlib 压缩
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Zlib 函数
        • DeflateContext — The DeflateContext class
        • InflateContext — The InflateContext class
    • 加密扩展
      • Hash — 散列消息摘要框架
        • 简介
        • 安装/配置
        • 预定义常量
        • HashContext — HashContext 类
        • Hash 函数
      • Mcrypt
        • 简介
        • 安装/配置
        • 预定义常量
        • Mcrypt 密码
        • Mcrypt 函数
      • Mhash
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Mhash 函数
      • OpenSSL
        • 简介
        • 安装/配置
        • 预定义常量
        • 密钥/证书参数
        • 证书验证
        • OpenSSL 函数
        • OpenSSLCertificate — OpenSSLCertificate 类
        • OpenSSLCertificateSigningRequest — OpenSSLCertificateSigningRequest 类
        • OpenSSLAsymmetricKey — OpenSSLAsymmetricKey 类
      • 密码散列算法
        • 简介
        • 安装/配置
        • 预定义常量
        • 密码散列算法函数
      • Rnp
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Rnp 函数
        • RnpFFI — The RnpFFI class
      • Sodium
        • 简介
        • 安装/配置
        • 预定义常量
        • Sodium 函数
        • SodiumException — The SodiumException class
      • Xpass
        • 简介
        • 安装/配置
        • 预定义常量
        • Xpass 函数
    • 数据库扩展
      • 数据库抽象层
        • DBA — Database (dbm-style) Abstraction Layer
        • ODBC — ODBC (Unified)
        • PDO — PHP 数据对象
      • 针对各数据库系统对应的扩展
        • CUBRID
        • dBase
        • Firebird/InterBase
        • IBM DB2 — IBM DB2, Cloudscape and Apache Derby
        • MongoDB — MongoDB Extension
        • MySQL — MySQL Drivers and Plugins
        • OCI8 — Oracle OCI8
        • PostgreSQL
        • SQLite3
        • SQLSRV — Microsoft SQL Server Driver for PHP
    • 日期与时间相关扩展
      • Calendar
        • 简介
        • 安装/配置
        • 预定义常量
        • Calendar 函数
      • 日期/时间 — 日期和时间
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • DateTime — DateTime 类
        • DateTimeImmutable — The DateTimeImmutable class
        • DateTimeInterface — The DateTimeInterface interface
        • DateTimeZone — DateTimeZone 类
        • DateInterval — DateInterval 类
        • DatePeriod — DatePeriod 类
        • Date/Time 函数
        • 日期/时间 Error 和 Exception
        • Supported Date and Time Formats
        • 所支持的时区列表
        • DateError — The DateError class
        • DateObjectError — The DateObjectError class
        • DateRangeError — The DateRangeError class
        • DateException — The DateException class
        • DateInvalidOperationException — The DateInvalidOperationException class
        • DateInvalidTimeZoneException — The DateInvalidTimeZoneException class
        • DateMalformedIntervalStringException — The DateMalformedIntervalStringException class
        • DateMalformedPeriodStringException — The DateMalformedPeriodStringException class
        • DateMalformedStringException — The DateMalformedStringException class
      • HRTime — High resolution timing
        • 简介
        • 安装/配置
        • 示例
        • HRTime\PerformanceCounter — The HRTime\PerformanceCounter class
        • HRTime\StopWatch — The HRTime\StopWatch class
        • HRTime\Unit — The HRTime\Unit class
    • 文件系统相关扩展
      • 直接 IO
        • 简介
        • 安装/配置
        • 预定义常量
        • Direct IO 函数
      • 目录
        • 预定义常量
        • Directory — Directory 类
        • 目录函数函数
      • Fileinfo — 文件信息
        • 简介
        • 安装/配置
        • 预定义常量
        • Fileinfo 函数
        • finfo — finfo 类
      • 文件系统
        • 简介
        • 安装/配置
        • 预定义常量
        • 文件系统函数
      • Inotify
        • 简介
        • 安装/配置
        • 预定义常量
        • Inotify 函数
      • xattr
        • 简介
        • 安装/配置
        • 预定义常量
        • xattr 函数
      • xdiff
        • 简介
        • 安装/配置
        • 预定义常量
        • xdiff 函数
    • 国际化与字符编码支持
      • Enchant — Enchant spelling library
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Enchant 函数
        • EnchantBroker — The EnchantBroker class
        • EnchantDictionary — The EnchantDictionary class
      • Gender — Determine gender of firstnames
        • 简介
        • 安装/配置
        • 示例
        • Gender\Gender — The Gender\Gender class
      • Gettext
        • 简介
        • 安装/配置
        • Gettext 函数
      • iconv
        • 简介
        • 安装/配置
        • 预定义常量
        • iconv 函数
      • intl — Internationalization Functions
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Collator — The Collator class
        • NumberFormatter — The NumberFormatter class
        • Locale — The Locale class
        • Normalizer — The Normalizer class
        • MessageFormatter — The MessageFormatter class
        • IntlCalendar — The IntlCalendar class
        • IntlGregorianCalendar — The IntlGregorianCalendar class
        • IntlTimeZone — The IntlTimeZone class
        • IntlDateFormatter — The IntlDateFormatter class
        • ResourceBundle — The ResourceBundle class
        • Spoofchecker — The Spoofchecker class
        • Transliterator — The Transliterator class
        • IntlBreakIterator — The IntlBreakIterator class
        • IntlRuleBasedBreakIterator — The IntlRuleBasedBreakIterator class
        • IntlCodePointBreakIterator — The IntlCodePointBreakIterator class
        • IntlDatePatternGenerator — The IntlDatePatternGenerator class
        • IntlPartsIterator — The IntlPartsIterator class
        • UConverter — The UConverter class
        • Grapheme 函数
        • IDN 函数
        • IntlChar
        • IntlException — Exception class for intl errors
        • IntlIterator — The IntlIterator class
        • intl 函数
      • 多字节字符串
        • 简介
        • 安装/配置
        • 预定义常量
        • 支持编码的摘要
        • 日文字符多字节编码基础
        • HTTP 输入和输出
        • 支持的字符编码
        • 函数重载功能
        • PHP字符编码的要求
        • 多字节字符串 函数
      • Pspell
        • 简介
        • 安装/配置
        • 预定义常量
        • Pspell 函数
        • PSpell\Dictionary — The PSpell\Dictionary class
        • PSpell\Config — The PSpell\Config class
      • Recode — GNU Recode
        • 简介
        • 安装/配置
        • Recode 函数
    • 图像生成和处理
      • Exif — 可交换图像信息
        • 简介
        • 安装/配置
        • 预定义常量
        • Exif 函数
      • GD — 图像处理和 GD
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • GD 和图像处理 函数
        • GdImage — GdImage 类
        • GdFont — The GdFont class
      • Gmagick
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Gmagick — The Gmagick class
        • GmagickDraw — The GmagickDraw class
        • GmagickPixel — The GmagickPixel class
      • ImageMagick — 图像处理(ImageMagick)
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Imagick — The Imagick class
        • ImagickDraw — The ImagickDraw class
        • ImagickDrawException — The ImagickDrawException class
        • ImagickException — The ImagickException class
        • ImagickKernel — The ImagickKernel class
        • ImagickKernelException — The ImagickKernelException class
        • ImagickPixel — The ImagickPixel class
        • ImagickPixelException — The ImagickPixelException class
        • ImagickPixelIterator — The ImagickPixelIterator class
        • ImagickPixelIteratorException — The ImagickPixelIteratorException class
    • 邮件相关扩展
      • IMAP — IMAP, POP3 和 NNTP
        • 简介
        • 安装/配置
        • 预定义常量
        • IMAP 函数
        • IMAP\Connection — The IMAP\Connection class
      • Mail
        • 简介
        • 安装/配置
        • Mail 函数
      • Mailparse
        • 简介
        • 安装/配置
        • 预定义常量
        • Mailparse 函数
    • 数学扩展
      • BC Math — BCMath 任意精度数学
        • 简介
        • 安装/配置
        • BC 数学 函数
        • BcMath\Number — The BcMath\Number class
      • GMP — GNU Multiple Precision
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • GMP 函数
        • GMP — The GMP class
      • Math — 数学函数
        • 简介
        • 预定义常量
        • RoundingMode — The RoundingMode Enum
        • Math 函数
      • Statistics
        • 简介
        • 安装/配置
        • Statistic 函数
      • Trader — Technical Analysis for Traders
        • 简介
        • 安装/配置
        • 预定义常量
        • Trader 函数
    • 非文本内容的 MIME 输出
      • FDF — Forms Data Format
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • FDF 函数
      • GnuPG — GNU Privacy Guard
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • GnuPG 函数
      • wkhtmltox
        • 简介
        • 安装/配置
        • wkhtmltox\PDF\Converter — The wkhtmltox\PDF\Converter class
        • wkhtmltox\PDF\Object — The wkhtmltox\PDF\Object class
        • wkhtmltox\Image\Converter — The wkhtmltox\Image\Converter class
      • PS — PostScript document creation
        • 简介
        • 安装/配置
        • 预定义常量
        • PS 函数
      • RpmInfo
        • 简介
        • 安装/配置
        • 预定义常量
        • RpmInfo 函数
      • XLSWriter
        • 简介
        • 安装/配置
        • Vtiful\Kernel\Excel — The Vtiful\Kernel\Excel class
        • Vtiful\Kernel\Format — The Vtiful\Kernel\Format class
    • 进程控制扩展
      • Eio
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Eio 函数
      • Ev
        • 简介
        • 安装/配置
        • 示例
        • Watchers
        • Watcher callbacks
        • Periodic watcher operation modes
        • Ev — The Ev class
        • EvCheck — The EvCheck class
        • EvChild — The EvChild class
        • EvEmbed — The EvEmbed class
        • EvFork — The EvFork class
        • EvIdle — The EvIdle class
        • EvIo — The EvIo class
        • EvLoop — The EvLoop class
        • EvPeriodic — The EvPeriodic class
        • EvPrepare — The EvPrepare class
        • EvSignal — The EvSignal class
        • EvStat — The EvStat class
        • EvTimer — The EvTimer class
        • EvWatcher — The EvWatcher class
      • Expect
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Expect 函数
      • PCNTL — 进程控制
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Pcntl\QosClass — The Pcntl\QosClass Enum
        • PCNTL 函数
      • POSIX
        • 简介
        • 安装/配置
        • 预定义常量
        • POSIX 函数
      • 程序执行 — 系统程序执行
        • 简介
        • 安装/配置
        • 程序执行函数
      • parallel
        • 简介
        • 安装
        • Philosophy
        • Functional API
        • parallel\Runtime — The parallel\Runtime class
        • parallel\Future — The parallel\Future class
        • parallel\Channel — The parallel\Channel class
        • parallel\Events — The parallel\Events class
        • parallel\Events\Input — The parallel\Events\Input class
        • parallel\Events\Event — The parallel\Events\Event class
        • parallel\Events\Event\Type — The parallel\Events\Event\Type class
        • parallel\Sync — The parallel\Sync class
      • pthreads
        • 简介
        • 安装/配置
        • 预定义常量
        • Threaded — Threaded 类
        • Thread — Thread 类
        • Worker — Worker 类
        • Collectable — The Collectable interface
        • Pool — Pool 类
        • Volatile — The Volatile class
      • Semaphore — Semaphore, Shared Memory and IPC
        • 简介
        • 安装/配置
        • 预定义常量
        • Semaphore 函数
        • SysvMessageQueue — The SysvMessageQueue class
        • SysvSemaphore — The SysvSemaphore class
        • SysvSharedMemory — The SysvSharedMemory class
      • Shared Memory
        • 简介
        • 安装/配置
        • 示例
        • Shared Memory 函数
        • Shmop — The Shmop class
      • Sync
        • 简介
        • 安装/配置
        • SyncMutex — The SyncMutex class
        • SyncSemaphore — The SyncSemaphore class
        • SyncEvent — The SyncEvent class
        • SyncReaderWriter — The SyncReaderWriter class
        • SyncSharedMemory — The SyncSharedMemory class
    • 其它基本扩展
      • 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\IntervalBoundary — The Random\IntervalBoundary Enum
        • 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\Coroutine\Lock — The Swoole\Coroutine\Lock 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\Runtime — The Swoole\Runtime 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 函数
    • 其它服务
      • cURL — Client URL 库
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • cURL 函数
        • CurlHandle — CurlHandle 类
        • CurlMultiHandle — CurlMultiHandle 类
        • CurlShareHandle — CurlShareHandle 类
        • CurlSharePersistentHandle — CurlSharePersistentHandle 类
        • CURLFile — CURLFile 类
        • CURLStringFile — CURLStringFile 类
      • Event
        • 简介
        • 安装/配置
        • 示例
        • Event flags
        • About event persistence
        • Event callbacks
        • Constructing signal events
        • Event — The Event class
        • EventBase — The EventBase class
        • EventBuffer — The EventBuffer class
        • EventBufferEvent — The EventBufferEvent class
        • About buffer event callbacks
        • EventConfig — EventConfig 类
        • EventDnsBase — The EventDnsBase class
        • EventHttp — The EventHttp class
        • EventHttpConnection — The EventHttpConnection class
        • EventHttpRequest — The EventHttpRequest class
        • EventListener — The EventListener class
        • EventSslContext — The EventSslContext class
        • EventUtil — The EventUtil class
        • EventException — The EventException class
      • FTP
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • FTP 函数
        • FTP\Connection — The FTP\Connection class
      • Gearman
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • GearmanClient — The GearmanClient class
        • GearmanJob — The GearmanJob class
        • GearmanTask — The GearmanTask class
        • GearmanWorker — The GearmanWorker class
        • GearmanException — The GearmanException class
      • LDAP — Lightweight Directory Access Protocol
        • 简介
        • 安装/配置
        • 预定义常量
        • Using the PHP LDAP calls
        • LDAP controls
        • 示例
        • LDAP 函数
        • LDAP\Connection — The LDAP\Connection class
        • LDAP\Result — The LDAP\Result class
        • LDAP\ResultEntry — The LDAP\ResultEntry class
      • Memcache
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Memcache — Memcache 类
        • Memcache 函数
      • Memcached
        • 简介
        • 安装/配置
        • 预定义常量
        • 超时时间
        • 回调
        • Sessions支持
        • Memcached — Memcached 类
        • MemcachedException — MemcachedException类
      • mqseries
        • 简介
        • 安装/配置
        • 预定义常量
        • mqseries 函数
      • 网络
        • 简介
        • 安装/配置
        • 预定义常量
        • 网络 函数
      • RRD — RRDtool
        • 简介
        • 安装/配置
        • 示例
        • RRD 函数
        • RRDCreator — The RRDCreator class
        • RRDGraph — The RRDGraph class
        • RRDUpdater — The RRDUpdater class
      • ScoutAPM
        • 简介
        • 安装/配置
        • Scoutapm 函数
      • SNMP
        • 简介
        • 安装/配置
        • 预定义常量
        • SNMP 函数
        • SNMP — The SNMP class
        • SNMPException — The SNMPException class
      • Socket
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Socket Errors
        • Socket 函数
        • Socket — Socket 类
        • AddressInfo — AddressInfo 类
      • SSH2 — Secure Shell2
        • 简介
        • 安装/配置
        • 预定义常量
        • SSH2 函数
      • Stomp — Stomp Client
        • 简介
        • 安装/配置
        • 示例
        • Stomp 函数
        • Stomp — The Stomp class
        • StompFrame — The StompFrame class
        • StompException — The StompException class
      • SVM — 支持向量机
        • 简介
        • 安装/配置
        • 示例
        • SVM — The SVM class
        • SVMModel — The SVMModel class
      • SVN — Subversion
        • 简介
        • 安装/配置
        • 预定义常量
        • SVN 函数
      • TCP — TCP Wrappers
        • 简介
        • 安装/配置
        • TCP 函数
      • Varnish
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • VarnishAdmin — The VarnishAdmin class
        • VarnishStat — The VarnishStat class
        • VarnishLog — The VarnishLog class
      • YAZ
        • 简介
        • 安装/配置
        • 示例
        • YAZ 函数
      • 0MQ 消息 — ZMQ
        • 简介
        • 安装/配置
        • ZMQ — The ZMQ class
        • ZMQContext — The ZMQContext class
        • ZMQSocket — The ZMQSocket class
        • ZMQPoll — The ZMQPoll class
        • ZMQDevice — The ZMQDevice class
      • ZooKeeper
        • 简介
        • 安装/配置
        • ZooKeeper 函数
        • Zookeeper — The Zookeeper class
        • ZookeeperConfig — The ZookeeperConfig class
        • ZookeeperException — The ZookeeperException class
        • ZookeeperAuthenticationException — The ZookeeperAuthenticationException class
        • ZookeeperConnectionException — The ZookeeperConnectionException class
        • ZookeeperMarshallingException — The ZookeeperMarshallingException class
        • ZookeeperNoNodeException — The ZookeeperNoNodeException class
        • ZookeeperOperationTimeoutException — The ZookeeperOperationTimeoutException class
        • ZookeeperSessionException — The ZookeeperSessionException class
    • 搜索引擎扩展
      • Solr — Apache Solr
        • 简介
        • 安装/配置
        • 预定义常量
        • Solr 函数
        • 示例
        • SolrUtils — The SolrUtils class
        • SolrInputDocument — The SolrInputDocument class
        • SolrDocument — The SolrDocument class
        • SolrDocumentField — The SolrDocumentField class
        • SolrObject — The SolrObject class
        • SolrClient — The SolrClient class
        • SolrResponse — The SolrResponse class
        • SolrQueryResponse — The SolrQueryResponse class
        • SolrUpdateResponse — The SolrUpdateResponse class
        • SolrPingResponse — The SolrPingResponse class
        • SolrGenericResponse — The SolrGenericResponse class
        • SolrParams — The SolrParams class
        • SolrModifiableParams — The SolrModifiableParams class
        • SolrQuery — The SolrQuery class
        • SolrDisMaxQuery — The SolrDisMaxQuery class
        • SolrCollapseFunction — The SolrCollapseFunction class
        • SolrException — The SolrException class
        • SolrClientException — The SolrClientException class
        • SolrServerException — The SolrServerException class
        • SolrIllegalArgumentException — The SolrIllegalArgumentException class
        • SolrIllegalOperationException — The SolrIllegalOperationException class
        • SolrMissingMandatoryParameterException — The SolrMissingMandatoryParameterException class
    • 针对服务器的扩展
      • Apache
        • 简介
        • 安装/配置
        • Apache 函数
      • FastCGI 进程管理器
        • 简介
        • 安装/配置
        • 可观察性
        • FPM 函数
    • Session 扩展
      • Sessions — Session 处理
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Session 上传进度
        • 会话和安全
        • Session 函数
        • SessionHandler — The SessionHandler class
        • SessionHandlerInterface — The SessionHandlerInterface class
        • SessionIdInterface — The SessionIdInterface interface
        • SessionUpdateTimestampHandlerInterface — The SessionUpdateTimestampHandlerInterface interface
    • 文本处理
      • CommonMark
        • 简介
        • 安装/配置
        • 预定义常量
        • CommonMark\Node\Document — Document concrete CommonMark\Node
        • CommonMark\Node\Heading — Heading concrete CommonMark\Node
        • CommonMark\Node\Paragraph — Paragraph concrete CommonMark\Node
        • CommonMark\Node\BlockQuote — BlockQuote concrete CommonMark\Node
        • CommonMark\Node\BulletList — BulletList concrete CommonMark\Node
        • CommonMark\Node\OrderedList — OrderedList concrete CommonMark\Node
        • CommonMark\Node\Item — Item concrete CommonMark\Node
        • CommonMark\Node\Text — Text concrete CommonMark\Node
        • CommonMark\Node\Text\Strong — Strong concrete CommonMark\Node
        • CommonMark\Node\Text\Emphasis — Emphasis concrete CommonMark\Node
        • CommonMark\Node\ThematicBreak — ThematicBreak concrete CommonMark\Node
        • CommonMark\Node\SoftBreak — SoftBreak concrete CommonMark\Node
        • CommonMark\Node\LineBreak — LineBreak concrete CommonMark\Node
        • CommonMark\Node\Code — Code concrete CommonMark\Node
        • CommonMark\Node\CodeBlock — CodeBlock concrete CommonMark\Node
        • CommonMark\Node\HTMLBlock — HTMLBlock concrete CommonMark\Node
        • CommonMark\Node\HTMLInline — HTMLInline concrete CommonMark\Node
        • CommonMark\Node\Image — Image concrete CommonMark\Node
        • CommonMark\Node\Link — Link concrete CommonMark\Node
        • CommonMark\Node\CustomBlock — CustomBlock concrete CommonMark\Node
        • CommonMark\Node\CustomInline — CustomInline concrete CommonMark\Node
        • CommonMark\Node — Abstract CommonMark\Node
        • CommonMark\Interfaces\IVisitor — The CommonMark\Interfaces\IVisitor interface
        • CommonMark\Interfaces\IVisitable — The CommonMark\Interfaces\IVisitable interface
        • CommonMark\Parser — The CommonMark\Parser class
        • CommonMark\CQL — The CommonMark\CQL class
        • CommonMark 函数
      • Parle — Parsing and lexing
        • 简介
        • 安装/配置
        • 预定义常量
        • Pattern matching — Parle pattern matching
        • 示例
        • Parle\Lexer — The Parle\Lexer class
        • Parle\RLexer — The Parle\RLexer class
        • Parle\Parser — The Parle\Parser class
        • Parle\RParser — The Parle\RParser class
        • Parle\Stack — The Parle\Stack class
        • Parle\Token — The Parle\Token class
        • Parle\ErrorInfo — The Parle\ErrorInfo class
        • Parle\LexerException — The Parle\LexerException class
        • Parle\ParserException — The Parle\ParserException class
      • PCRE — 正则表达式(兼容 Perl)
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • PCRE模式
        • PCRE 函数
      • ssdeep — ssdeep Fuzzy Hashing
        • 简介
        • 安装/配置
        • ssdeep 函数
      • 字符串
        • 简介
        • 安装/配置
        • 预定义常量
        • 字符串 函数
        • 更新日志
    • 变量与类型相关扩展
      • 数组
        • 简介
        • 预定义常量
        • 对数组进行排序
        • 数组 函数
      • 类/对象 — 类/对象的信息
        • 简介
        • 示例
        • 类/对象 函数
      • Ctype — 字符类型检测
        • 简介
        • 安装/配置
        • Ctype 函数
      • 过滤器 — 数据过滤器
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • 过滤器函数
      • 函数处理
        • 简介
        • 函数处理 函数
      • Quickhash
        • 简介
        • 安装/配置
        • 示例
        • QuickHashIntSet — The QuickHashIntSet class
        • QuickHashIntHash — The QuickHashIntHash class
        • QuickHashStringIntHash — The QuickHashStringIntHash class
        • QuickHashIntStringHash — The QuickHashIntStringHash class
      • 反射
        • 简介
        • 示例
        • 扩展
        • Reflection — Reflection 类
        • ReflectionClass — ReflectionClass 类
        • ReflectionClassConstant — The ReflectionClassConstant class
        • ReflectionConstant — The ReflectionConstant class
        • ReflectionEnum — ReflectionEnum 类
        • ReflectionEnumUnitCase — ReflectionEnumUnitCase 类
        • ReflectionEnumBackedCase — ReflectionEnumBackedCase 类
        • ReflectionZendExtension — ReflectionZendExtension 类
        • ReflectionExtension — ReflectionExtension 类
        • ReflectionFunction — ReflectionFunction 类
        • ReflectionFunctionAbstract — ReflectionFunctionAbstract 类
        • ReflectionMethod — ReflectionMethod 类
        • ReflectionNamedType — ReflectionNamedType 类
        • ReflectionObject — ReflectionObject 类
        • ReflectionParameter — ReflectionParameter 类
        • ReflectionProperty — ReflectionProperty 类
        • ReflectionType — ReflectionType 类
        • ReflectionUnionType — ReflectionUnionType 类
        • ReflectionGenerator — ReflectionGenerator 类
        • ReflectionFiber — ReflectionFiber 类
        • ReflectionIntersectionType — ReflectionIntersectionType 类
        • ReflectionReference — ReflectionReference 类
        • ReflectionAttribute — ReflectionAttribute 类
        • Reflector — Reflector 接口
        • ReflectionException — ReflectionException 类
        • PropertyHookType — PropertyHookType 枚举
      • 变量处理
        • 简介
        • 安装/配置
        • 变量处理函数
    • Web 服务
      • OAuth
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • OAuth 函数
        • OAuth — OAuth 类
        • OAuthProvider — OAuthProvider 类
        • OAuthException — OAuthException 类
      • SOAP
        • 简介
        • 安装/配置
        • 预定义常量
        • SOAP 函数
        • SoapClient — The SoapClient class
        • SoapServer — The SoapServer class
        • SoapFault — The SoapFault class
        • SoapHeader — The SoapHeader class
        • SoapParam — The SoapParam class
        • SoapVar — The SoapVar class
      • Yar — Yet Another RPC Framework
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • Yar_Server — The Yar_Server class
        • Yar_Client — Yar_Client 类
        • Yar_Concurrent_Client — Yar_Concurrent_Client 类
        • Yar_Server_Exception — Yar_Server_Exception 类
        • Yar_Client_Exception — Yar_Client_Exception 类
      • XML-RPC
        • 简介
        • 安装/配置
        • XML-RPC 函数
    • Windows 专用扩展
      • COM — COM 和 .Net(Windows)
        • 简介
        • 安装/配置
        • 预定义常量
        • Errors and error handling
        • 示例
        • com — The com class
        • dotnet — The dotnet class
        • variant — variant class
        • COMPersistHelper — The COMPersistHelper class
        • com_exception — The com_exception class
        • com_safearray_proxy — com_safearray_proxy 类
        • COM 函数
      • win32service
        • 简介
        • 安装/配置
        • 预定义常量
        • Win32ServiceException — The Win32ServiceException class
        • Win32Service\RightInfo — The Win32Service\RightInfo class
        • 示例
        • win32service 函数
    • XML 操作
      • DOM — Document Object Model
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • DOMAttr — The DOMAttr class
        • DOMCdataSection — The DOMCdataSection class
        • DOMCharacterData — The DOMCharacterData class
        • DOMChildNode — The DOMChildNode interface
        • DOMComment — The DOMComment class
        • DOMDocument — The DOMDocument class
        • DOMDocumentFragment — The DOMDocumentFragment class
        • DOMDocumentType — The DOMDocumentType class
        • DOMElement — The DOMElement class
        • DOMEntity — The DOMEntity class
        • DOMEntityReference — The DOMEntityReference class
        • DOMException — The DOMException / Dom\Exception class
        • DOMImplementation — The DOMImplementation class
        • DOMNamedNodeMap — The DOMNamedNodeMap class
        • DOMNameSpaceNode — The DOMNameSpaceNode class
        • DOMNode — The DOMNode class
        • DOMNodeList — The DOMNodeList class
        • DOMNotation — The DOMNotation class
        • DOMParentNode — The DOMParentNode interface
        • DOMProcessingInstruction — The DOMProcessingInstruction class
        • DOMText — The DOMText class
        • DOMXPath — The DOMXPath class
        • Dom\AdjacentPosition — The Dom\AdjacentPosition Enum
        • Dom\Attr — The Dom\Attr class
        • Dom\CDATASection — The Dom\CDATASection class
        • Dom\CharacterData — The Dom\CharacterData class
        • Dom\ChildNode — The Dom\ChildNode interface
        • Dom\Comment — The Dom\Comment class
        • Dom\Document — The Dom\Document class
        • Dom\DocumentFragment — The Dom\DocumentFragment class
        • Dom\DocumentType — The Dom\DocumentType class
        • Dom\DtdNamedNodeMap — The Dom\DtdNamedNodeMap class
        • Dom\Element — The Dom\Element class
        • Dom\Entity — The Dom\Entity class
        • Dom\EntityReference — The Dom\EntityReference class
        • Dom\HTMLCollection — The Dom\HTMLCollection class
        • Dom\HTMLDocument — The Dom\HTMLDocument class
        • Dom\HTMLElement — The Dom\HTMLElement class
        • Dom\Implementation — The Dom\Implementation class
        • Dom\NamedNodeMap — The Dom\NamedNodeMap class
        • Dom\NamespaceInfo — The Dom\NamespaceInfo class
        • Dom\Node — The Dom\Node class
        • Dom\NodeList — The Dom\NodeList class
        • Dom\Notation — The Dom\Notation class
        • Dom\ParentNode — The Dom\ParentNode interface
        • Dom\ProcessingInstruction — The Dom\ProcessingInstruction class
        • Dom\Text — The Dom\Text class
        • Dom\TokenList — The Dom\TokenList class
        • Dom\XMLDocument — The Dom\XMLDocument class
        • Dom\XPath — The Dom\XPath class
        • DOM 函数
      • libxml
        • 简介
        • 安装/配置
        • 预定义常量
        • LibXMLError — The LibXMLError class
        • libxml 函数
      • SimpleXML
        • 简介
        • 安装/配置
        • 示例
        • SimpleXMLElement — The SimpleXMLElement class
        • SimpleXMLIterator — The SimpleXMLIterator class
        • SimpleXML 函数
      • WDDX
        • 简介
        • 安装/配置
        • 示例
        • WDDX 函数
      • XMLDiff — XML diff and merge
        • 简介
        • 安装/配置
        • XMLDiff\Base — The XMLDiff\Base class
        • XMLDiff\DOM — The XMLDiff\DOM class
        • XMLDiff\Memory — The XMLDiff\Memory class
        • XMLDiff\File — The XMLDiff\File class
      • XML 解析器
        • 简介
        • 安装/配置
        • 预定义常量
        • 事件处理程序
        • 大写转换
        • 错误代码
        • 字符编码
        • 示例
        • XML 解析器函数
        • XMLParser — XMLParser 类
      • XMLReader
        • 简介
        • 安装/配置
        • XMLReader — The XMLReader class
      • XMLWriter
        • 简介
        • 安装/配置
        • 示例
        • XMLWriter — The XMLWriter class
      • XSL
        • 简介
        • 安装/配置
        • 预定义常量
        • 示例
        • XSLTProcessor — The XSLTProcessor class
    • 图形用户界面(GUI) 扩展
      • UI
        • 简介
        • 安装/配置
        • UI\Point — Represents a position (x,y)
        • UI\Size — Represents dimensions (width, height)
        • UI\Window — Window
        • UI\Control — Control
        • UI\Menu — Menu
        • UI\MenuItem — Menu Item
        • UI\Area — Area
        • UI\Executor — Execution Scheduler
        • UI\Controls\Tab — Tab Control
        • UI\Controls\Check — Check Control
        • UI\Controls\Button — Button Control
        • UI\Controls\ColorButton — ColorButton Control
        • UI\Controls\Label — Label Control
        • UI\Controls\Entry — Entry Control
        • UI\Controls\MultilineEntry — MultilineEntry Control
        • UI\Controls\Spin — Spin Control
        • UI\Controls\Slider — Slider Control
        • UI\Controls\Progress — Progress Control
        • UI\Controls\Separator — Control Separator
        • UI\Controls\Combo — Combo Control
        • UI\Controls\EditableCombo — EdiableCombo Control
        • UI\Controls\Radio — Radio Control
        • UI\Controls\Picker — Picker Control
        • UI\Controls\Form — Control Form (Arrangement)
        • UI\Controls\Grid — Control Grid (Arrangement)
        • UI\Controls\Group — Control Group (Arrangement)
        • UI\Controls\Box — Control Box (Arrangement)
        • UI\Draw\Pen — Draw Pen
        • UI\Draw\Path — Draw Path
        • UI\Draw\Matrix — Draw Matrix
        • UI\Draw\Color — Color Representation
        • UI\Draw\Stroke — Draw Stroke
        • UI\Draw\Brush — Brushes
        • UI\Draw\Brush\Gradient — Gradient Brushes
        • UI\Draw\Brush\LinearGradient — Linear Gradient
        • UI\Draw\Brush\RadialGradient — Radial Gradient
        • UI\Draw\Text\Layout — Represents Text Layout
        • UI\Draw\Text\Font — Represents a Font
        • UI\Draw\Text\Font\Descriptor — Font Descriptor
        • UI 函数
        • UI\Draw\Text\Font\Weight — Font Weight Settings
        • UI\Draw\Text\Font\Italic — Italic Font Settings
        • UI\Draw\Text\Font\Stretch — Font Stretch Settings
        • UI\Draw\Line\Cap — Line Cap Settings
        • UI\Draw\Line\Join — Line Join Settings
        • UI\Key — Key Identifiers
        • UI\Exception\InvalidArgumentException — InvalidArgumentException
        • UI\Exception\RuntimeException — RuntimeException
  • FAQ — 常见问题
    • 一般信息
    • 邮件列表
    • 获取 PHP
    • 数据库问题
    • 安装 — 安装常见问题
    • 编译问题
    • 使用 PHP
    • 密码散列 — 安全可靠的密码散列
    • PHP 和 HTML
    • PHP 和 COM
    • 其他问题
  • 附录
    • PHP 及其相关项目的历史
      • PHP 的历史
      • PHP 相关项目的历史
      • PHP 相关书籍
      • PHP 相关出版物
    • About manual examples
    • 从 PHP 8.4.x 移植到 PHP 8.5.x
      • 新功能
      • 新的类和接口
      • 新函数
      • 新的全局常量
      • 不向后兼容的变更
      • 弃用功能
      • 其它变更
      • Windows 支持
    • 从 PHP 8.3.x 移植到 PHP 8.4.x
      • 新功能
      • 新的类、注解和 interface
      • 新函数
      • 新的全局常量
      • 不向后兼容的变更
      • Deprecated Features
      • Removed Extensions
      • Other Changes
      • Windows Support
    • 从 PHP 8.2.x 移植到 PHP 8.3.x
      • 新功能
      • 新的类和接口
      • 新函数
      • 新的全局常量
      • 不向后兼容的变更
      • 弃用功能
      • 其它变更
      • Windows 支持
    • 从 PHP 8.1.x 移植到 PHP 8.2.x
      • 新功能
      • 新函数
      • 新全局常量
      • 不向后兼容的变更
      • 废弃的功能
      • 其他变更
      • Windows 支持
    • 从 PHP 8.0.x 移植到 PHP 8.1.x
      • 新特性
      • 新的类和接口
      • 新函数
      • 新的全局常量
      • 不向后兼容的变更
      • PHP 8.1.x 废弃的功能
      • 其他变更
    • 从 PHP 7.4.x 移植到 PHP 8.0.x
      • 新特性
      • 新的类和接口
      • 不向后兼容的变更
      • PHP 8.0 废弃的功能
      • 其他变更
    • 从 PHP 7.3.x 移植到 PHP 7.4.x
      • 新特性
      • 新的类和接口
      • 新函数
      • 新的全局常量
      • 不向后兼容的变更
      • PHP 7.4.x 废弃的功能
      • 移除的扩展
      • 其他变更
      • Windows 支持
    • 从 PHP 7.2.x 移植到 PHP 7.3.x
      • 新特性
      • 新函数
      • 新的全局常量
      • 不向下兼容的变更
      • PHP 7.3.x 中废弃的功能
      • 其它变更
      • Windows 支持
    • 从 PHP 7.1.x 移植到 PHP 7.2.x
      • 新特性
      • 新函数
      • 新全局常量
      • 不向下兼容的变更
      • PHP 7.2.x 中废弃的功能
      • 其他变更
    • 从 PHP 7.0.x 移植到 PHP 7.1.x
      • 新特性
      • 新的函数
      • 新增的全局常量
      • 不向后兼容的变更
      • PHP 7.1.x 中废弃的特性
      • 变动的函数
      • 其它变更
      • Windows 支持
    • 从 PHP 5.6.x 移植到 PHP 7.0.x
      • 不向后兼容的变更
      • 新特性
      • PHP 7.0.x 弃用的功能
      • 变更的函数
      • 新函数
      • 新的类和接口
      • 新的全局常量
      • SAPI 模块的变化
      • 移除的扩展和 SAPI
      • 其它变更
    • 从 PHP 5.5.x 移植到 PHP 5.6.x
      • 向后不兼容
      • 新特性
      • PHP 5.6.x 中已废止的特性
      • 函数的变化
      • 新加函数
      • OpenSSL changes in PHP 5.6.x
      • 扩展中的变动
      • 新加的全局常量
    • PHP 的调试
      • 关于 PHP 调试器
    • 配置选项
      • 核心配置选项列表
    • php.ini 配置
      • php.ini 配置选项列表
      • php.ini 配置段列表
      • php.ini 核心指令说明
    • 扩展库列表/归类
      • 按字母顺序
      • 按归属分
      • 按状态分
    • 函数别名列表
    • 保留字列表
      • 关键词列表
      • 预定义类
      • 预定义常量
      • 其他保留字列表
    • 资源类型列表
    • 可用过滤器列表
      • 字符串过滤器
      • 转换过滤器
      • 压缩过滤器
      • 加密过滤器
    • 所支持的套接字传输器列表
      • Internet 域:TCP,UDP,SSL 和 TLS
      • Unix 域:Unix 和 UDG
    • PHP 类型比较表
    • 解析器记号(token)列表
    • 用户空间命名指南
      • 全局命名空间
      • 规则
      • 提示
    • 关于本手册
      • 手册的格式
      • 关于用户注释
      • 如何阅读函数的定义(函数原型)
      • 本手册中所涉及的 PHP 版本
      • 如何得到关于 PHP 更多的信息
      • 如何帮助改进本文档
      • 如何生成手册的各种格式
      • 手册译文
    • Creative Commons Attribution 3.0
    • 索引
      • 函数和方法列表
      • 示例列表
    • 更新日志