在线文档教程

Judy::count

Judy::count

(PECL judy >= 0.1.1)

Judy::count — Count the number of elements in the Judy array

Description

public int Judy::count ([ int $index_start = 0 [, int $index_end = -1 ]] )

Count the number of elements in the Judy array.

Parameters

index_start

Start counting from the given index. Default is first index.

index_end

Stop counting when reaching this index. Default is last index.

Return Values

Return the number of elements.

← Judy::__construct

Judy::__destruct →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/judy.count.php