略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Ds\Pair

2025-02-27

The Pair class

(PECL ds >= 1.0.0)

简介

A pair is used by Ds\Map to pair keys with values.

类摘要

class Ds\Pair implements JsonSerializable {
/* 方法 */
public __construct(mixed $key = ?, mixed $value = ?)
public clear(): void
public copy(): Ds\Pair
public isEmpty(): bool
public toArray(): array
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/class.ds-pair.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3