summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_063.phpt
blob: 4d4112bac5e77a87c3e8905cd8aef2c796c05b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
SPL: LimitIterator::__construct(void)
--CREDITS--
Sebastian Schürmann
--FILE--
<?php
class myLimitIterator extends LimitIterator {
	
}
try {
	$it = new myLimitIterator();
} catch (InvalidArgumentException $e) {
	echo 'InvalidArgumentException thrown';
}
?>
--EXPECT--
InvalidArgumentException thrown