1--TEST-- 2The Generator class cannot be extended 3--FILE-- 4<?php 5 6class ExtendedGenerator extends Generator { } 7 8?> 9--EXPECTF-- 10Fatal error: Class ExtendedGenerator cannot extend final class Generator in %s on line %d 11