PHP 8.4.2 Released!

The Countable interface

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

はじめに

Classes implementing Countable can be used with the count() function.

インターフェイス概要

interface Countable {
/* メソッド */
public count(): int
}

目次

add a note

User Contributed Notes

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