PHP函数大全 · M
千寻网 PHP 函数大全,收录以字母 m 开头的 PHP 函数,共 751 个,含用途说明、示例。 共 751 个函数
- mkdir() 创建一个新目录
- min() 返回一组数值中的最小值
- mime_content_type() 返回指定文件的 MIME 类型
- microtime() 返回当前 Unix 时间戳和微秒数的字符串表示
- mhash_keygen_s2k() 使用用户提供的密码,根据给定算法生成密钥。
- mhash_get_hash_name() 获取指定哈希算法的名称
- mhash_get_block_size() 获取指定哈希算法的块大小(以字节为单位)
- mhash_count() 返回当前系统支持的哈希算法的数量
- mhash() 计算给定的数据的哈希值
- method_exists() 检查一个对象或类是否具有指定的方法
- metaphone() 计算给定字符串的 metaphone 键
- MessageFormatter::setPattern() 设置消息格式化器的模式
- MessageFormatter::parseMessage() 将一个格式化的消息解析为具体的值,并返回解析后的结果
- 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实例