1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/ext/spl/tests/bug49972.phpt
2012-10-10 10:27:49 +08:00

12 lines
235 B
PHP

--TEST--
Bug #49972 (AppendIterator undefined function crash)
--FILE--
<?php
$iterator = new AppendIterator();
$iterator->undefined();
?>
--EXPECTF--
Fatal error: Call to undefined method AppendIterator::undefined() in %s on line %d