1--TEST-- 2callable type cannot take part in an intersection type 3--FILE-- 4<?php 5 6function foo(): callable&Iterator {} 7 8?> 9--EXPECTF-- 10Fatal error: Type callable cannot be part of an intersection type in %s on line %d 11