rfc:namespaces-for-internal-classes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:namespaces-for-internal-classes [2008/06/17 18:43] – Adding list of renamed classes lstrojny | rfc:namespaces-for-internal-classes [2011/04/06 10:59] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Request for Comments: How to write RFCs ====== | ====== Request for Comments: How to write RFCs ====== | ||
- | * Version: | + | * Version: 0.1 |
* Date: 2008-03-06 | * Date: 2008-03-06 | ||
* Author: Lars Strojny < | * Author: Lars Strojny < | ||
Line 40: | Line 40: | ||
===== List of renamed classes ===== | ===== List of renamed classes ===== | ||
- | ^ Current name ^ New name ^ | + | ==== Array ==== |
- | | AppendIterator | + | ^ Current name ^ New name ^ |
- | | ArrayIterator | + | | ArrayObject |
- | | ArrayObject | + | | SplFastArray |
- | | SplDoublyLinkedList | + | |
- | | SplQueue | + | |
- | | SplStack | + | |
- | | SplHeap | + | |
- | | SplMinHeap | + | |
- | | SplMaxHeap | + | |
- | | SplPriorityQueue | + | |
- | | SplFastArray | + | |
- | | BadFunctionCallException | + | |
- | | BadMethodCallException | + | |
- | | CachingIterator | + | |
- | | Countable | + | |
- | | DirectoryIterator | + | |
- | | DomainException | + | |
- | | EmptyIterator | + | |
- | | FilesystemIterator | + | |
- | | FilterIterator | + | |
- | | GlobIterator | + | |
- | | InfiniteIterator | + | |
- | | InvalidArgumentException | + | |
- | | IteratorIterator | + | |
- | | LengthException | + | |
- | | LimitIterator | + | |
- | | LogicException | + | |
- | | NoRewindIterator | + | |
- | | OuterIterator | + | |
- | | OutOfBoundsException | + | |
- | | OutOfRangeException | + | |
- | | OverflowException | + | |
- | | ParentIterator | + | |
- | | RangeException | + | |
- | | RecursiveArrayIterator | + | |
- | | RecursiveCachingIterator | + | |
- | | RecursiveDirectoryIterator | + | |
- | | RecursiveFilterIterator | + | |
- | | RecursiveIterator | + | |
- | | RecursiveIteratorIterator | + | |
- | | RecursiveRegexIterator | + | |
- | | RegexIterator | + | |
- | | RuntimeException | + | |
- | | SeekableIterator | + | |
- | | SimpleXMLIterator | + | |
- | | SplFileInfo | + | |
- | | SplFileObject | + | |
- | | SplObjectStorage | + | |
- | | SplObserver | + | |
- | | SplSubject | + | |
- | | SplTempFileObject | + | |
- | | UnderflowException | + | |
- | | UnexpectedValueException | + | |
+ | ==== Iterators ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | AppendIterator | ||
+ | | ArrayIterator | ||
+ | | CachingIterator | ||
+ | | DirectoryIterator | ||
+ | | EmptyIterator | ||
+ | | FilesystemIterator | ||
+ | | FilterIterator | ||
+ | | GlobIterator | ||
+ | | InfiniteIterator | ||
+ | | IteratorIterator | ||
+ | | LimitIterator | ||
+ | | RegexIterator | ||
+ | | SeekableIterator | ||
+ | | SimpleXMLIterator | ||
+ | | ParentIterator | ||
+ | | NoRewindIterator | ||
+ | | OuterIterator | ||
+ | | RecursiveArrayIterator | ||
+ | | RecursiveCachingIterator | ||
+ | | RecursiveDirectoryIterator | ||
+ | | RecursiveFilterIterator | ||
+ | | RecursiveIterator | ||
+ | | RecursiveIteratorIterator | ||
+ | | RecursiveRegexIterator | ||
+ | |||
+ | ==== Lists ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | SplDoublyLinkedList | ||
+ | | SplQueue | ||
+ | | SplStack | ||
+ | | SplHeap | ||
+ | | SplMinHeap | ||
+ | | SplMaxHeap | ||
+ | | SplPriorityQueue | ||
+ | | SplObjectStorage | ||
+ | |||
+ | ==== Exceptions ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | BadFunctionCallException | ||
+ | | BadMethodCallException | ||
+ | | DomainException | ||
+ | | InvalidArgumentException | ||
+ | | LengthException | ||
+ | | RangeException | ||
+ | | RuntimeException | ||
+ | | LogicException | ||
+ | | OutOfBoundsException | ||
+ | | OutOfRangeException | ||
+ | | OverflowException | ||
+ | | UnderflowException | ||
+ | | UnexpectedValueException | ||
+ | |||
+ | ==== File related stuff ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | SplFileInfo | ||
+ | | SplFileObject | ||
+ | | SplTempFileObject | ||
+ | |||
+ | ==== Observer interfaces ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | SplObserver | ||
+ | | SplSubject | ||
+ | |||
+ | ==== Misc ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | Countable | ||
+ | |||
+ | ===== Backwards compatibility and other constraints ====== | ||
+ | * The current names are removed in PHP 6.0 | ||
+ | * The current names are available as deprecated aliases until their removal | ||
+ | * The documentation will be updated to advise the usage of the new naming scheme | ||
+ | * The current classes will trigger an E_DEPRECATED warning hinting the new name |
rfc/namespaces-for-internal-classes.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1