diff options
author | Joe Watkins <krakjoe@php.net> | 2019-10-21 09:24:57 +0200 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2019-10-21 09:25:24 +0200 |
commit | 174ab25fd47d9bc0f370419eeb12e4b4e4f6084f (patch) | |
tree | fc0383be4a075d98b57beb53f6ee26cd579e6157 /ext/reflection/php_reflection.c | |
parent | c797ed5cc76ab23de33c90702cdc230f48b087c4 (diff) | |
parent | 1ac961bea85930d9c71bcca349ee4b9d84edd3b8 (diff) | |
download | php-git-174ab25fd47d9bc0f370419eeb12e4b4e4f6084f.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
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 4e556b3cbc..e4a065989a 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -4990,7 +4990,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)); |