You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Counts the elements of that sequence (s. Count()).
Syntax
publicfunction count() : int;
Result
The number of elements.
Examples
use \System\Linq\Enumerable;
$seq = Enumerable::fromValues(5979, 'TM', null);
// 3$a1 = $seq->count();
$seq->reset();
// other way to do this$a2 = count($seq);