@len
Return the length of an array.
Returns: number
Syntax
Section titled “Syntax”@len(value)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
value |
array |
Input value |
Examples
Section titled “Examples”# Get array lengthset $arr [10 20 30]print @len($arr)