Back to index

php5  5.3.10
Classes | Functions
spl.php File Reference

Documentation of internal classes and interfaces. More...

Go to the source code of this file.

Classes

class  Exception
 Basic Exception class. More...
class  LogicException
 Exception that represents error in the program logic. More...
class  BadFunctionCallException
 Exception thrown when a function call was illegal. More...
class  BadMethodCallException
 Exception thrown when a method call was illegal. More...
class  DomainException
 Exception that denotes a value not in the valid domain was used. More...
class  InvalidArgumentException
 Exception that denotes invalid arguments were passed. More...
class  LengthException
 Exception thrown when a parameter exceeds the allowed length. More...
class  OutOfRangeException
 Exception thrown when an illegal index was requested. More...
class  RuntimeException
 Exception thrown for errors that are only detectable at runtime. More...
class  OutOfBoundsException
 Exception thrown when an illegal index was requested. More...
class  OverflowException
 Exception thrown to indicate arithmetic/buffer overflow. More...
class  RangeException
 Exception thrown to indicate range errors during program execution. More...
class  UnderflowException
 Exception thrown to indicate arithmetic/buffer underflow. More...
class  UnexpectedValueException
 Exception thrown to indicate an unexpected value. More...
interface  ArrayAccess
 Interface to override array access of objects. More...
interface  Traversable
 Interface to detect a class is traversable using foreach. More...
interface  IteratorAggregate
 Interface to create an external Iterator. More...
interface  Iterator
 Basic iterator. More...
interface  Countable
 This Interface allows to hook into the global count() function. More...
interface  Serializable
 Interface for customized serializing. More...
class  ArrayObject
 An Array wrapper. More...
class  ArrayIterator
 An Array iterator. More...
class  SplFileInfo
 File info class. More...
class  DirectoryIterator
 Directory iterator. More...
class  RecursiveDirectoryIterator
 recursive directory iterator More...
class  SimpleXMLIterator
 recursive SimpleXML_Element iterator More...
interface  SplObserver
 Observer of the observer pattern. More...
interface  SplSubject
 Subject to the observer pattern. More...

Functions

 spl_autoload (string $class_name, string $file_extensions=NULL)
 Default implementation for __autoload()
 spl_autoload_call (string $class_name)
 Manual invocation of all registerd autoload functions.
 spl_autoload_extensions ($file_extensions)
 Register and return default file extensions for spl_autoload.
 spl_autoload_functions ()
 Return all registered autoload functionns.
 spl_autoload_register (string $autoload_function="spl_autoload", $throw=true)
 Register given function as autoload implementation.
 spl_autoload_unregister (string $autoload_function="spl_autoload")
 Unregister given function as autoload implementation.
 spl_classes ()
 Return an array of classes and interfaces in SPL.
 iterator_count (Traversable $it)
 Count the elements in an iterator.
 iterator_to_array (Traversable $it, $use_keys=true)
 Copy iterator elements into an array.

Detailed Description

Documentation of internal classes and interfaces.

SPL - Standard PHP Library

(c) Marcus Boerger, 2003 - 2008

Definition in file spl.php.