summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-05-26 14:10:57 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-10 21:05:28 +0200
commitd30cd7d7e7ddd0d06c18c47f43c7d2ee00de24a1 (patch)
tree33fdeac65ef66eb3db6066af396763fae391bef9 /ext/mysqli/mysqli.c
parent2ad75ba78440eeffbde35a12c666d5f55aaf631a (diff)
downloadphp-git-d30cd7d7e7ddd0d06c18c47f43c7d2ee00de24a1.tar.gz
Review the usage of apostrophes in error messages
Closes GH-5590
Diffstat (limited to 'ext/mysqli/mysqli.c')
-rw-r--r--ext/mysqli/mysqli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index 0d1c34d7fc..ba1fdf8033 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -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;