ArrayIterator::key

ArrayIterator::key

(PHP 5 >= 5.0.0, PHP 7)

ArrayIterator::keyReturn current array key

Description

public mixed ArrayIterator::key ( void )

This function returns the current array key

Parameters

This function has no parameters.

Return Values

The current array key.

登录查看完整内容