PHP标准库 (SPL)
- 简介
- 安装/配置
- 预定义常量
- 数据结构
- SplDoublyLinkedList — The SplDoublyLinkedList class
- SplStack — The SplStack class
- SplQueue — The SplQueue class
- 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 — The AppendIterator class
- ArrayIterator — ArrayIterator 类
- CachingIterator — The CachingIterator class
- CallbackFilterIterator — The CallbackFilterIterator class
- DirectoryIterator — The DirectoryIterator class
- EmptyIterator — The EmptyIterator class
- FilesystemIterator — The FilesystemIterator class
- FilterIterator — The FilterIterator class
- GlobIterator — The GlobIterator class
- InfiniteIterator — The InfiniteIterator class
- IteratorIterator — The IteratorIterator class
- LimitIterator — The LimitIterator class
- 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 — The Countable interface
- OuterIterator — The OuterIterator interface
- RecursiveIterator — The RecursiveIterator interface
- SeekableIterator — The SeekableIterator interface
- 异常
- BadFunctionCallException — The BadFunctionCallException class
- BadMethodCallException — The BadMethodCallException class
- 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 — The SplFileObject class
- SplTempFileObject — The SplTempFileObject class
- 各种类及接口
- ArrayObject — The ArrayObject class
- SplObserver — The SplObserver interface
- SplSubject — The SplSubject interface