diff options
Diffstat (limited to 'Zend/tests/bug30725.phpt')
-rw-r--r-- | Zend/tests/bug30725.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/bug30725.phpt b/Zend/tests/bug30725.phpt index ce6c9a50a2..75cb04843c 100644 --- a/Zend/tests/bug30725.phpt +++ b/Zend/tests/bug30725.phpt @@ -1,7 +1,7 @@ --TEST-- Bug #30725 (PHP segfaults when an exception is thrown in getIterator() within foreach) --FILE-- -<?php +<?php class Test implements IteratorAggregate { @@ -12,7 +12,7 @@ class Test implements IteratorAggregate } try -{ +{ $it = new Test; foreach($it as $v) { |