aboutsummaryrefslogtreecommitdiff
path: root/vendors/simpletest/test/support/spl_examples.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendors/simpletest/test/support/spl_examples.php')
-rwxr-xr-xvendors/simpletest/test/support/spl_examples.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendors/simpletest/test/support/spl_examples.php b/vendors/simpletest/test/support/spl_examples.php
new file mode 100755
index 000000000..45add356c
--- /dev/null
+++ b/vendors/simpletest/test/support/spl_examples.php
@@ -0,0 +1,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() { }
+ }
+?> \ No newline at end of file