Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Introduction »
« SeasLog::warning
PHP Manual
Function Reference
Other Basic Extensions
Change language:
English
Chinese (Simplified)
Other
Standard PHP Library (SPL)
Introduction
Installing/Configuring
Requirements
Installation
Runtime Configuration
Resource Types
Predefined Constants
Datastructures
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
Iterators
AppendIterator
— The AppendIterator class
ArrayIterator
— The ArrayIterator class
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
Interfaces
Countable
— The Countable interface
OuterIterator
— The OuterIterator interface
RecursiveIterator
— The RecursiveIterator interface
SeekableIterator
— The SeekableIterator interface
Exceptions
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 Functions
class_implements
— Return the interfaces which are implemented by the given class or interface
class_parents
— Return the parent classes of the given class
class_uses
— Return the traits used by the given class
iterator_apply
— Call a function for every element in an iterator
iterator_count
— Count the elements in an iterator
iterator_to_array
— Copy the iterator into an array
spl_autoload_call
— Try all registered __autoload() functions to load the requested class
spl_autoload_extensions
— Register and return default file extensions for spl_autoload
spl_autoload_functions
— Return all registered __autoload() functions
spl_autoload_register
— Register given function as __autoload() implementation
spl_autoload_unregister
— Unregister given function as __autoload() implementation
spl_autoload
— Default implementation for __autoload()
spl_classes
— Return available SPL classes
spl_object_hash
— Return hash id for given object
spl_object_id
— Return the integer object handle for given object
File Handling
SplFileInfo
— The SplFileInfo class
SplFileObject
— The SplFileObject class
SplTempFileObject
— The SplTempFileObject class
Miscellaneous Classes and Interfaces
ArrayObject
— The ArrayObject class
SplObserver
— The SplObserver interface
SplSubject
— The SplSubject interface
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.