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
|
@ -650,7 +650,7 @@ static int mysqlnd_zval_array_to_mysqlnd_array(zval *in_array, MYSQLND ***out_ar
|
|||
i++;
|
||||
if (Z_TYPE_P(elem) != IS_OBJECT ||
|
||||
!instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
|
||||
zend_argument_type_error(i, "must be an instance of mysqli, %s given", zend_zval_type_name(elem));
|
||||
zend_argument_type_error(i, "must be an instance of mysqli, %s given", zend_zval_value_name(elem));
|
||||
return FAILURE;
|
||||
} else {
|
||||
MY_MYSQL *mysql;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue