diff options
author | Joe Watkins <krakjoe@php.net> | 2019-10-21 09:22:32 +0200 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2019-10-21 09:23:26 +0200 |
commit | 1c9b62fbd43599528d016f190ef2d25446db0051 (patch) | |
tree | 4e97177608dbb40e0bb88306bf389631ae9bccbe /ext/reflection/php_reflection.c | |
parent | 4f50d58caba8286b5c533f6925b2ec320dd0742e (diff) | |
parent | bea2ff88c9536ffd157c5fa304bd29a9cee85524 (diff) | |
download | php-git-1c9b62fbd43599528d016f190ef2d25446db0051.tar.gz |
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug #78697: inaccurate error message
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index c38160297d..ac623e1c05 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -5087,7 +5087,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)); |