rfc:namespaces-for-internal-classes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:namespaces-for-internal-classes [2008/06/17 18:52] – Caption lstrojny | rfc:namespaces-for-internal-classes [2013/02/21 03:08] – tyrael | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Request for Comments: | + | ====== Request for Comments: |
- | * 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 ===== | ||
+ | ==== Array ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | ArrayObject | ||
+ | | SplFastArray | ||
+ | |||
+ | ==== Iterators ==== | ||
^ Current name ^ New name ^ | ^ Current name ^ New name ^ | ||
| AppendIterator | | AppendIterator | ||
| ArrayIterator | | ArrayIterator | ||
- | | ArrayObject | + | | 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 | | SplDoublyLinkedList | ||
| SplQueue | | SplQueue | ||
Line 51: | Line 81: | ||
| SplMaxHeap | | SplMaxHeap | ||
| SplPriorityQueue | | SplPriorityQueue | ||
- | | SplFastArray | + | | SplObjectStorage |
+ | |||
+ | ==== Exceptions ==== | ||
+ | ^ Current name ^ New name ^ | ||
| BadFunctionCallException | | BadFunctionCallException | ||
| BadMethodCallException | | BadMethodCallException | ||
- | | CachingIterator | ||
- | | Countable | ||
- | | DirectoryIterator | ||
| DomainException | | DomainException | ||
- | | EmptyIterator | ||
- | | FilesystemIterator | ||
- | | FilterIterator | ||
- | | GlobIterator | ||
- | | InfiniteIterator | ||
| InvalidArgumentException | | InvalidArgumentException | ||
- | | IteratorIterator | ||
| LengthException | | LengthException | ||
- | | LimitIterator | + | | RangeException |
+ | | RuntimeException | ||
| LogicException | | LogicException | ||
- | | NoRewindIterator | ||
- | | OuterIterator | ||
| OutOfBoundsException | | OutOfBoundsException | ||
| OutOfRangeException | | OutOfRangeException | ||
| OverflowException | | OverflowException | ||
- | | ParentIterator | + | | UnderflowException |
- | | RangeException | + | | UnexpectedValueException |
- | | RecursiveArrayIterator | + | |
- | | RecursiveCachingIterator | + | ==== File related stuff ==== |
- | | RecursiveDirectoryIterator | + | ^ Current name ^ New name ^ |
- | | RecursiveFilterIterator | + | |
- | | RecursiveIterator | + | |
- | | RecursiveIteratorIterator | + | |
- | | RecursiveRegexIterator | + | |
- | | RegexIterator | + | |
- | | RuntimeException | + | |
- | | SeekableIterator | + | |
- | | SimpleXMLIterator | + | |
| SplFileInfo | | SplFileInfo | ||
| SplFileObject | | SplFileObject | ||
- | | SplObjectStorage | + | | SplTempFileObject |
+ | |||
+ | ==== Observer interfaces ==== | ||
+ | ^ Current name ^ New name ^ | ||
| SplObserver | | SplObserver | ||
| SplSubject | | SplSubject | ||
- | | SplTempFileObject | ||
- | | UnderflowException | ||
- | | UnexpectedValueException | ||
+ | ==== 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