« Throwable::__toString
Countable::count »
PHP Manual
Interfaces y clases predefinidas
The Countable interface
The Countable interface
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Introducción
Classes implementing
Countable
can be used with the
count()
function.
Sinopsis de la Interfaz
interface
Countable
{
/* Métodos */
public
count
():
int
}
Tabla de contenidos
Countable::count
— Count elements of an object