1--TEST--
2Intersection type cannot be nullable
3--FILE--
4<?php
5
6function foo(): ?Countable&Iterator {}
7
8?>
9--EXPECTF--
10Parse error: syntax error, unexpected token "&", expecting "{" in %s on line %d
11