1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/spl/tests/bug49972.phpt
2015-05-17 17:31:43 -05:00

15 lines
292 B
PHP

--TEST--
Bug #49972 (AppendIterator undefined function crash)
--FILE--
<?php
$iterator = new AppendIterator();
$iterator->undefined();
?>
--EXPECTF--
Fatal error: Uncaught Error: Call to undefined method AppendIterator::undefined() in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d