mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Review the usage of apostrophes in error messages
Closes GH-5590
This commit is contained in:
parent
2ad75ba784
commit
d30cd7d7e7
421 changed files with 907 additions and 897 deletions
|
@ -1179,7 +1179,7 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags
|
|||
return;
|
||||
}
|
||||
if (UNEXPECTED(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS))) {
|
||||
zend_throw_error(NULL, "Class '%s' cannot be instantiated", ZSTR_VAL(ce->name));
|
||||
zend_throw_error(NULL, "Class %s cannot be instantiated", ZSTR_VAL(ce->name));
|
||||
RETURN_THROWS();
|
||||
}
|
||||
fetchtype = MYSQLI_ASSOC;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue