Countable 接口

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

简介

类实现 Countable 可被用于 count() 函数.

接口摘要

interface Countable {
/* 方法 */
public count(): int
}

目录

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top