Closed
Description
Description
since https://wiki.php.net/rfc/null-false-standalone-types PHP already standalone supports false
type
starting with (if accepted) #8326 true
as a standalone type will be supported as well
This is a feature request to improve the error messages with more specific type to help the developer understand the real given value.
So instead of:
Argument #1 ($obj) must be of type object, bool given,
the following should be printed:
Argument #1 ($obj) must be of type object, false given,