summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2019-10-21 09:23:44 +0200
committerJoe Watkins <krakjoe@php.net>2019-10-21 09:24:41 +0200
commit1ac961bea85930d9c71bcca349ee4b9d84edd3b8 (patch)
tree6e933ddeaf6a6d86c115639021320ec96e5e10a5 /ext/reflection/php_reflection.c
parentd517c559fcd1e2746476c0a4cab0ecd7a6f075b2 (diff)
parent1c9b62fbd43599528d016f190ef2d25446db0051 (diff)
downloadphp-git-1ac961bea85930d9c71bcca349ee4b9d84edd3b8.tar.gz
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix bug #78697: inaccurate error message
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index e7df9bfa61..94b2709763 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -5020,7 +5020,7 @@ ZEND_METHOD(reflection_class, implementsInterface)
if (!(interface_ce->ce_flags & ZEND_ACC_INTERFACE)) {
zend_throw_exception_ex(reflection_exception_ptr, 0,
- "Interface %s is a Class", ZSTR_VAL(interface_ce->name));
+ "%s is not an interface", ZSTR_VAL(interface_ce->name));
return;
}
RETURN_BOOL(instanceof_function(ce, interface_ce));