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