Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]

Method rows()


Method rows

array rows(mixed data, array index)

Description

Select a set of rows from an array.

This function is en optimized equivalent to:

map(index , lambda(mixed x) { return data [x]; })

That is, it indices data on every index in the array index and returns an array with the results.

See also

column()