ALIAS

cnt()

ShortPHP reference for count().

Signature

count(Countable|array $value, int $mode = COUNT_NORMAL): int

Example

cnt(...);

PHP equivalent

count() is the canonical PHP function. ShortPHP provides cnt() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: base()

Next: cclose()

Back to reference