编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SplHeap::isEmpty
  • SplHeap::next »
  • PHP Manual
  • SplHeap
  • Return current node index

SplHeap::key

(PHP 5 >= 5.3.0, PHP 7)

SplHeap::key — Return current node index

说明

public SplHeap::key ( void ) : mixed

This function returns the current node index

参数

此函数没有参数。

返回值

The current node index.

相关文章
php cachingiterator return the key for the current elementphp directoryiterator return path and file name of current directoryiterator itemphp domdocument import node into current documentphp domnodelist retrieves a node specified by indexphp cubrid mysql 兼容性函数 return the name of the specified field indexphp intlbreakiterator get index of current positionphp mongocommandcursor returns the current result s index within the result setphp spldoublylinkedlist return current array entryphp spldoublylinkedlist return current node indexphp splfileobject return current file positionphp splfixedarray return current array indexphp splheap return current node pointed by the iteratorphp splheap return current node indexphp splheap peeks at the node from the top of the heapphp splpriorityqueue return current node pointed by the iteratorphp splpriorityqueue return current node indexphp swoole connection iterator return current connection entry.php swoole connection iterator return key of the current connection.php xmlreader returns a copy of the current node as a dom objectphp xmlreader retrieve xml from current node
关注编程学问公众号
编程学问网 湘ICP备20001732号