count( array $_array ) : int
count
Kurzbeschreibung
Zählt alle Elemente eines Arrays oder Attribute eines Objekts.
Funktionsbeschreibung
Beispiele
{%
$_array = [1,2,3,4];
$_result = count($_array);
# $_result == 4
if(count($_array) > 0)
{
print("My list contains at least one entry.");
}
%}