mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)
This commit is contained in:
parent
f8f7fd2db1
commit
7936c8085e
145 changed files with 563 additions and 544 deletions
|
@ -2493,7 +2493,7 @@ ZEND_METHOD(ReflectionParameter, __construct)
|
|||
break;
|
||||
|
||||
default:
|
||||
zend_argument_error(reflection_exception_ptr, 1, "must be a string, an array(class, method), or a callable object, %s given", zend_zval_type_name(reference));
|
||||
zend_argument_error(reflection_exception_ptr, 1, "must be a string, an array(class, method), or a callable object, %s given", zend_zval_value_name(reference));
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue