1--TEST--
2true can be used as a standalone type even with implicit nullability
3--FILE--
4<?php
5
6function test(true $v = null) { return $v; }
7
8var_dump(test(true));
9var_dump(test(null));
10?>
11--EXPECTF--
12Deprecated: test(): Implicitly marking parameter $v as nullable is deprecated, the explicit nullable type must be used instead in %s on line %d
13bool(true)
14NULL
15