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