1--TEST--
2Test that a mixed parameter type can't be overridden by a built-in type
3--FILE--
4<?php
5
6class Foo
7{
8    public function method(mixed $a) {}
9}
10
11class Bar extends Foo
12{
13    public function method(bool $a) {}
14}
15
16?>
17--EXPECTF--
18Fatal error: Declaration of Bar::method(bool $a) must be compatible with Foo::method(mixed $a) in %s on line %d
19