1--TEST--
2true can be used as a standalone type
3--FILE--
4<?php
5
6function test(true $v): true {
7    return $v;
8}
9
10var_dump(test(true));
11
12?>
13--EXPECT--
14bool(true)
15