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--EXPECT-- 12bool(true) 13NULL 14