1--TEST--
2Test that the mixed return type can't be used together with any other type
3--FILE--
4<?php
5
6function foo(): mixed|string|null
7{
8    return null;
9}
10
11?>
12--EXPECTF--
13Fatal error: Type mixed can only be used as a standalone type in %s on line %d
14