InternalIterator::key (PHP 8)InternalIterator::key — 返回当前元素的键 说明 public InternalIterator::key(): mixed 返回当前元素的键。 参数 此函数没有参数。 返回值 返回当前元素的键。