size()
Determines the size/length of numbers, strings, arrays and countable objects
size(mixed $value): int
Parameters
| Name | Type | Default |
|---|---|---|
| $value * | mixed |
– |
Return type
int
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |