PHP Manual Function Reference Other Basic Extensions SPL Datastructures SplHeap SplHeap::key SplHeap::isEmpty SplHeap::next SplHeap::key (PHP 5 >= 5.3.0)SplHeap::key — Return current node index Description public mixed SplHeap::key ( void ) This function returns the current node index Parameters This function has no parameters. Return Values The current node index.