ArrayIterator::current » « ArrayIterator::__construct PHP 手册 函数参考 其它基本扩展 SPL Iterators ArrayIterator ArrayIterator::count (PHP 5, PHP 7, PHP 8)ArrayIterator::count — Count elements 说明 public ArrayIterator::count(): int Gets the number of elements in the array, or the number of public properties in the object. 警告本函数还未编写文档,仅有参数列表。 参数 此函数没有参数。 返回值 The number of elements or public properties in the associated array or object, respectively. 参见 ArrayIterator::getFlags() - Get behavior flags 发现了问题? 了解如何改进此页面 • 提交拉取请求 • 报告一个错误 +添加备注 用户贡献的备注 此页面尚无用户贡献的备注。 备份地址:http://www.lvesu.com/blog/php/arrayiterator.count.php