xref: /PHP-5.3/ext/spl/tests/bug49972.phpt (revision 610c7fbe)
1--TEST--
2Bug #49972 (AppendIterator undefined function crash)
3--FILE--
4<?php
5
6$iterator = new AppendIterator();
7$iterator->undefined();
8
9?>
10--EXPECTF--
11Fatal error: Call to undefined method AppendIterator::undefined() in %s on line %d
12