1--TEST--
2Bug #81268 Wrong message when using null as a default value for intersection types
3--FILE--
4<?php
5
6class Test {
7    public X&Y $y = null;
8}
9
10?>
11--EXPECTF--
12Fatal error: Cannot use null as default value for property Test::$y of type X&Y in %s on line %d
13