PHP函数大全
千寻网 PHP 函数大全,收录 8873 个 PHP 内置函数,含函数名、用途、详细用法、示例。 共 8,873 个函数
- MessageFormatter::parse() 将格式化的消息解析为消息的参数数组
- MessageFormatter::getPattern() 获取 MessageFormatter 对象的消息模式
- MessageFormatter::getLocale() 获取当前MessageFormatter对象的区域设置
- MessageFormatter::getErrorMessage() 获取上一次调用MessageFormatter对象的错误消息
- MessageFormatter::getErrorCode() 获取格式化消息的错误码
- MessageFormatter::formatMessage() 根据给定的消息模板和参数格式化消息
- MessageFormatter::format() 根据给定的模板和参数格式化消息
- MessageFormatter::create() 创建一个新的 MessageFormatter 对象,用于格式化消息
- memory_reset_peak_usage() 重置当前脚本执行期间的峰值内存使用量
- memory_get_usage() 获取当前 PHP 脚本所消耗的内存量,返回值以字节为单位
- memory_get_peak_usage() 获取当前脚本执行过程中的内存峰值使用量
- memcache_debug() 在调试过程中启用或禁用 memcache 扩展的调试模式
- Memcached::__construct() 创建一个新的 Memcached 对象
- Memcached::touchByKey() 更新指定键的过期时间
- Memcached::touch() 更新一个已存在的 key 的过期时间
- MongoDB\BSON\Document::toRelaxedExtendedJSON() 将MongoDB\BSON\Document对象转换为放松的扩展JSON格式
- MongoDB\BSON\Document::toPHP() 将MongoDB\BSON\Document对象转换为PHP数组
- MongoDB\BSON\Document::toCanonicalExtendedJSON() 将MongoDB\BSON\Document对象转换为扩展的JSON格式
- MongoDB\BSON\Document::serialize() 将MongoDB\BSON\Document对象序列化为字符串
- MongoDB\BSON\Document::getIterator() 返回一个迭代器,用于遍历MongoDB\BSON\Document对象中的所有元素
- MongoDB\BSON\Document::get() 获取MongoDB\BSON\Document对象中指定字段的值
- MongoDB\BSON\Document::fromPHP() 将PHP数组转换为MongoDB\BSON\Document对象
- MongoDB\BSON\Document::fromJSON() 将JSON字符串转换为MongoDB\BSON\Document对象
- MongoDB\BSON\Document::fromBSON() 将二进制数据转换为 MongoDB\BSON\Document 对象
- MongoDB\BSON\Decimal128Interface::__toString() 将MongoDB\BSON\Decimal128Interface对象转换为字符串形式
- MongoDB\BSON\Decimal128::__toString() 将 Decimal128 对象转换为字符串表示形式
- MongoDB\BSON\Decimal128::__construct() 创建一个新的 MongoDB\BSON\Decimal128 对象
- MongoDB\BSON\Decimal128::unserialize() 将序列化的Decimal128对象转换回原始的Decimal128对象
- MongoDB\BSON\Decimal128::serialize() 将MongoDB\BSON\Decimal128对象序列化为字符串
- MongoDB\BSON\Decimal128::jsonSerialize() 将MongoDB\BSON\Decimal128对象序列化为JSON格式的字符串
- MongoDB\BSON\DBPointer::__toString() 返回DBPointer对象的字符串表示形式
- MongoDB\BSON\DBPointer::__construct() 创建一个新的DBPointer实例,用于表示指向MongoDB中的另一个文档的引用
- MongoDB\BSON\DBPointer::unserialize() 将序列化的DBPointer字符串转换为关联数组
- MongoDB\BSON\DBPointer::serialize() 将DBPointer对象序列化为字符串
- MongoDB\BSON\DBPointer::jsonSerialize() 将 MongoDB\BSON\DBPointer 对象转换为 JSON 字符串的可序列化形式
- MongoDB\BSON\BinaryInterface::__toString() 将BinaryInterface对象转换为字符串表示形式
- MongoDB\BSON\BinaryInterface::getType() 获取二进制数据的类型
- MongoDB\BSON\BinaryInterface::getData() 获取二进制数据的原始字节
- MongoDB\BSON\Binary::__toString() 将MongoDB\BSON\Binary对象转换为字符串表示形式
- MongoDB\BSON\Binary::__construct() 创建一个新的Binary对象,用于表示二进制数据
- MongoDB\BSON\Binary::unserialize() 将二进制数据反序列化为 MongoDB\BSON\Binary 对象
- MongoDB\BSON\Binary::serialize() 将MongoDB\BSON\Binary对象序列化为字符串
- MongoDB\BSON\Binary::jsonSerialize() 将MongoDB\BSON\Binary对象转换为可序列化的JSON值
- MongoDB\BSON\Document::has() 检查文档对象中是否存在指定的键名
- MongoDB\BSON\MinKey::serialize() 将MongoDB\BSON\MinKey对象序列化为一个字符串
- MongoDB\BSON\MinKey::jsonSerialize() 将MinKey对象转换为JSON可序列化的表示形式
- MongoDB\BSON\MaxKey::unserialize() 将序列化的MaxKey对象重新转换为MaxKey实例
- MongoDB\BSON\MaxKey::serialize() 将MaxKey对象序列化为BSON字符串
- MongoDB\BSON\MaxKey::jsonSerialize() 将MongoDB\BSON\MaxKey对象转换为JSON格式的字符串
- MongoDB\BSON\JavascriptInterface::__toString() 将JavascriptInterface对象转换为字符串表示形式
- MongoDB\BSON\JavascriptInterface::getScope() 获取MongoDB\BSON\JavascriptInterface对象的作用域
- MongoDB\BSON\JavascriptInterface::getCode() 获取JavascriptInterface对象的代码字符串
- MongoDB\BSON\Javascript::__toString() 返回Javascript对象的字符串表示形式
- MongoDB\BSON\Javascript::unserialize() 将序列化的JavaScript对象转换为MongoDB\BSON\Javascript对象
- MongoDB\BSON\Javascript::serialize() 将 JavaScript 代码序列化为 BSON
- MongoDB\BSON\Javascript::jsonSerialize() 将MongoDB\BSON\Javascript对象转换为可序列化的JSON格式
- MongoDB\BSON\Javascript::getScope() 获取Javascript对象的作用域
- MongoDB\BSON\Javascript::getCode() 获取MongoDB\BSON\Javascript对象中的JavaScript代码字符串
- MongoDB\BSON\Iterator::__construct() 创建 MongoDB\BSON\Iterator 对象的实例
- MongoDB\BSON\Iterator::valid() 检查当前迭代器位置是否有效