blob: 45add356c445f3df47692b746a1cdd409446ff6d (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | <?php
    // $Id: spl_examples.php 1262 2006-02-05 19:35:31Z lastcraft $
    class IteratorImplementation implements Iterator {
        function current() { }
        function next() { }
        function key() { }
        function valid() { }
        function rewind() { }
    }
    class IteratorAggregateImplementation implements IteratorAggregate {
        function getIterator() { }
    }
?>
 |