diff options
author | Felipe Pena <felipe@php.net> | 2008-08-11 13:56:24 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-08-11 13:56:24 +0000 |
commit | 301af6d4a978fbff40ec85581e0d8ecb3711a621 (patch) | |
tree | 65369be9970dee934e7e150c87e9cd791920ae5e | |
parent | 4d47ccb963d796446fbe57c2767d9790b109aa31 (diff) | |
download | php-git-301af6d4a978fbff40ec85581e0d8ecb3711a621.tar.gz |
- MFH: has_property check
-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 5d1ea0e6f8..a3203ccbfb 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3307,7 +3307,7 @@ ZEND_METHOD(reflection_class, hasProperty) { MAKE_STD_ZVAL(property); ZVAL_STRINGL(property, name, name_len, 1); - if (Z_OBJ_HANDLER_P(intern->obj, has_property)(intern->obj, property, 2 TSRMLS_CC)) { + if (Z_OBJ_HANDLER_P(intern->obj, has_property)(intern->obj, property, 0 TSRMLS_CC)) { zval_ptr_dtor(&property); RETURN_TRUE; } |