编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SplHeap::compare
  • SplHeap::count »
  • PHP Manual
  • SplHeap
  • Constructs a new empty heap

SplHeap::__construct

(PHP 5 >= 5.3.0, PHP 7)

SplHeap::__construct — Constructs a new empty heap

说明

public SplHeap::__construct ( void )

This constructs a new empty heap.

参数

此函数没有参数。

返回值

没有返回值。

相关文章
php directoryiterator constructs a new directory iterator from a pathphp ffi dynamically constructs a new c array typephp svn 函数 creates a new empty directory returns true if all is ok false otherwisephp svn 函数 creates a new empty file returns true if all is ok false otherwisephp messageformatter constructs a new message formatterphp splfixedarray constructs a new fixed arrayphp splheap compare elements in order to place them correctly in the heap while sifting upphp splheap constructs a new empty heapphp splheap counts the number of elements in the heapphp splheap extracts a node from top of the heap and sift upphp splheap inserts an element in the heap by sifting it upphp splheap checks whether the heap is emptyphp splpriorityqueue constructs a new empty queuephp streamwrapper constructs a new stream wrapperphp syncevent constructs a new syncevent objectphp syncmutex constructs a new syncmutex objectphp syncsemaphore constructs a new syncsemaphore objectphp syncsharedmemory constructs a new syncsharedmemory objectphp tidy constructs a new tidy objectphp weakmap constructs a new map
关注编程学问公众号
编程学问网 湘ICP备20001732号