编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 arrayiterator return current array entryphp cachingiterator return the string representation of the current elementphp directoryiterator return the current directoryiterator itemphp cubrid 函数 return the current cubrid connection charsetphp posix 函数 return the effective user id of the current processphp posix 函数 return the real group id of the current processphp imagick gets the index of the current active imagephp imagick gets the index of the current active imagephp limititerator return the current positionphp mongocursor returns the current result s id or its index within the result setphp simplexmliterator return current keyphp spldoublylinkedlist return current node indexphp splfixedarray return current array entryphp splfixedarray return current array indexphp splheap return current node pointed by the iteratorphp splheap extracts a node from top of the heap and sift upphp splheap return current node indexphp splpriorityqueue return current node pointed by the iteratorphp splpriorityqueue return current node indexphp svm return the current training parameters
关注编程学问公众号
编程学问网 湘ICP备20001732号