blob: 3c030632bfaef1d9e839f22315c7a042d3be5e42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
AppendIterator::__construct() with invalid arguments
--FILE--
<?php
new AppendIterator(null);
?>
--EXPECTF--
Fatal error: Uncaught ArgumentCountError: AppendIterator::__construct() expects exactly 0 arguments, 1 given in %s:%d
Stack trace:
#0 %s(%d): AppendIterator->__construct(NULL)
#1 {main}
thrown in %s on line %d
|