diff options
| author | Marcus Boerger <helly@php.net> | 2005-10-08 19:09:58 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-10-08 19:09:58 +0000 |
| commit | 11f0ff9c1afece2127ef7c0fc2e9f6b3f5b46d15 (patch) | |
| tree | ef83e26da6b1cf822f8f28828cbe92192edd619c /ext/spl/internal | |
| parent | 7357ac0b968bb338bddfc47ae6ffe51e012f41e7 (diff) | |
| download | php-git-11f0ff9c1afece2127ef7c0fc2e9f6b3f5b46d15.tar.gz | |
- Update docu
- Synch class consts with HEAD
- Synch example RecursiveTreeIterator (as far as possible)
Diffstat (limited to 'ext/spl/internal')
| -rwxr-xr-x | ext/spl/internal/cachingiterator.inc | 8 | ||||
| -rwxr-xr-x | ext/spl/internal/recursiveiteratoriterator.inc | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/spl/internal/cachingiterator.inc b/ext/spl/internal/cachingiterator.inc index 6391322c3d..1129793873 100755 --- a/ext/spl/internal/cachingiterator.inc +++ b/ext/spl/internal/cachingiterator.inc @@ -27,10 +27,10 @@ */ class CachingIterator implements OuterIterator { - const CALL_TOSTRING = 1; - const CATCH_GET_CHILD = 2; - const TOSTRING_USE_KEY = 4; - const TOSTRING_USE_CURRENT = 8; + const CALL_TOSTRING = 0x00000001; + const CATCH_GET_CHILD = 0x00000002; + const TOSTRING_USE_KEY = 0x00000010; + const TOSTRING_USE_CURRENT = 0x00000020; private $it; private $current; diff --git a/ext/spl/internal/recursiveiteratoriterator.inc b/ext/spl/internal/recursiveiteratoriterator.inc index 61a9d60a27..716ab475ff 100755 --- a/ext/spl/internal/recursiveiteratoriterator.inc +++ b/ext/spl/internal/recursiveiteratoriterator.inc @@ -30,7 +30,7 @@ class RecursiveIteratorIterator implements OuterIterator /** Flag: Catches exceptions during getChildren() calls and simply jumps * to the next element. */ - const CATCH_GET_CHILD = 2; + const CATCH_GET_CHILD = 0x00000002; private $ait = array(); private $count = 0; |
