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