1--TEST--
2It's not possible to directly instantiate the Generator class
3--FILE--
4<?php
5
6new Generator;
7
8?>
9--EXPECTF--
10Fatal error: Uncaught Error: The "Generator" class is reserved for internal use and cannot be manually instantiated in %s:%d
11Stack trace:
12#0 {main}
13  thrown in %s on line %d
14