1 2 3 4 5 6 7 8 9 10 11
--TEST-- Void cannot be nullable --FILE-- <?php function test() : ?void { } ?> --EXPECTF-- Fatal error: Void can only be used as a standalone type in %s on line %d