PHP 標準庫(SPL)
- 簡介
- 安裝/配置
- 預定義常量
- 數據結構
- SplDoublyLinkedList — The SplDoublyLinkedList class
- SplStack — SplStack 類
- SplQueue — SplQueue 類
- SplHeap — The SplHeap class
- SplMaxHeap — The SplMaxHeap class
- SplMinHeap — The SplMinHeap class
- SplPriorityQueue — The SplPriorityQueue class
- SplFixedArray — The SplFixedArray class
- SplObjectStorage — The SplObjectStorage class
- 迭代器
- AppendIterator — AppendIterator 類
- ArrayIterator — ArrayIterator 類
- CachingIterator — The CachingIterator class
- CallbackFilterIterator — The CallbackFilterIterator class
- DirectoryIterator — The DirectoryIterator class
- EmptyIterator — The EmptyIterator class
- FilesystemIterator — The FilesystemIterator class
- FilterIterator — FilterIterator 類
- GlobIterator — GlobIterator 類
- InfiniteIterator — The InfiniteIterator class
- IteratorIterator — The IteratorIterator class
- LimitIterator — LimitIterator 類
- MultipleIterator — The MultipleIterator class
- NoRewindIterator — The NoRewindIterator class
- ParentIterator — The ParentIterator class
- RecursiveArrayIterator — The RecursiveArrayIterator class
- RecursiveCachingIterator — The RecursiveCachingIterator class
- RecursiveCallbackFilterIterator — The RecursiveCallbackFilterIterator class
- RecursiveDirectoryIterator — The RecursiveDirectoryIterator class
- RecursiveFilterIterator — The RecursiveFilterIterator class
- RecursiveIteratorIterator — The RecursiveIteratorIterator class
- RecursiveRegexIterator — The RecursiveRegexIterator class
- RecursiveTreeIterator — The RecursiveTreeIterator class
- RegexIterator — The RegexIterator class
- 介面
- Countable — Countable 介面
- OuterIterator — The OuterIterator interface
- RecursiveIterator — The RecursiveIterator interface
- SeekableIterator — The SeekableIterator interface
- 異常
- BadFunctionCallException — The BadFunctionCallException class
- BadMethodCallException — BadMethodCallException 類
- DomainException — The DomainException class
- InvalidArgumentException — The InvalidArgumentException class
- LengthException — The LengthException class
- LogicException — The LogicException class
- OutOfBoundsException — The OutOfBoundsException class
- OutOfRangeException — The OutOfRangeException class
- OverflowException — The OverflowException class
- RangeException — The RangeException class
- RuntimeException — The RuntimeException class
- UnderflowException — The UnderflowException class
- UnexpectedValueException — The UnexpectedValueException class
- SPL 函式
- class_implements — 返回指定的類實現的所有介面。
- class_parents — 返回指定類的父類。
- class_uses — Return the traits used by the given class
- iterator_apply — 為迭代器中每個元素呼叫一個使用者自定義函式
- iterator_count — 計算迭代器中元素的個數
- iterator_to_array — 將迭代器中的元素拷貝到陣列
- spl_autoload_call — 嘗試呼叫所有已註冊的 __autoload() 函式來裝載請求類
- spl_autoload_extensions — 註冊並返回 spl_autoload 函式使用的預設副檔名
- spl_autoload_functions — 返回所有已註冊的 __autoload() 函式
- spl_autoload_register — 註冊給定的函式作為 __autoload 的實現
- spl_autoload_unregister — 註銷已註冊的 __autoload() 函式
- spl_autoload — __autoload()函式的預設實現
- spl_classes — 返回所有可用的SPL類
- spl_object_hash — 返回指定對象的hash id
- spl_object_id — Return the integer object handle for given object
- 檔案處理
- SplFileInfo — The SplFileInfo class
- SplFileObject — SplFileObject 類
- SplTempFileObject — The SplTempFileObject class
- 各種類及介面
- ArrayObject — The ArrayObject class
- SplObserver — The SplObserver interface
- SplSubject — The SplSubject interface