diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-07-02 18:57:31 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-07-02 18:58:01 +0200 |
commit | 04824aa2635f60085d0ae89438a84e55479717ea (patch) | |
tree | 76584f87bf27d10f00fd93e0672c665d58d710f6 /ext/reflection/php_reflection.c | |
parent | 1b66ba17ad96518ce100c0a27f7f5a11a4cd1668 (diff) | |
parent | 9bbb9e537c4f88eb31038343e567c0eca4b9a00d (diff) | |
download | php-git-04824aa2635f60085d0ae89438a84e55479717ea.tar.gz |
Merge branch 'PHP-7.2'
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 144714b47a..7d8ea1c283 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -5455,7 +5455,7 @@ ZEND_METHOD(reflection_property, getValue) return; } - if (!instanceof_function(Z_OBJCE_P(object), ref->ce)) { + if (!instanceof_function(Z_OBJCE_P(object), ref->prop.ce)) { _DO_THROW("Given object is not an instance of the class this property was declared in"); /* Returns from this function */ } |