length - chung-leong/qb GitHub Wiki
length - Vector length
float length( float[] $x )
length() calculates the length of vector x.
Parameters:
x - The vector to process. It can be a one-dimensional array or a multi-dimensional array.
Return Value:
Length of x. If x or y is a multi-dimensional array, the return value will be an array whose size is the number of vectors in x.
Version
1.0 and above.