diff options
Diffstat (limited to 'Examples/test-suite/php/php_iterator_runme.php')
-rw-r--r-- | Examples/test-suite/php/php_iterator_runme.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Examples/test-suite/php/php_iterator_runme.php b/Examples/test-suite/php/php_iterator_runme.php index fd645ccb2..76b4757fc 100644 --- a/Examples/test-suite/php/php_iterator_runme.php +++ b/Examples/test-suite/php/php_iterator_runme.php @@ -1,9 +1,9 @@ <?php require "tests.php"; -require "php_iterator.php"; -check::functions(array('myiterator_rewind','myiterator_key','myiterator_current','myiterator_next','myiterator_valid')); +// No new functions. +check::functions(array()); check::classes(array('MyIterator')); // No new global variables. check::globals(array()); @@ -21,4 +21,3 @@ foreach (new MyIterator(2, 5) as $k => $v) { check::equal($s, '(0=>2)(1=>3)(2=>4)', 'Simple iteration failed'); check::done(); -?> |