[php-src] Issue #8329: `false` type must be printed instead of `bool`

From: Date: Fri, 08 Apr 2022 18:25:55 +0000
Subject: [php-src] Issue #8329: `false` type must be printed instead of `bool`
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240808@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8329 Author: mvorisek ### Description https://3v4l.org/av8Mi since https://wiki.php.net/rfc/null-false-standalone-types PHP already standalone supports false type starting with (if accepted) https://github.com/php/php-src/pull/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, ```

« previous php.bugs (#240808) next »