Index: NEWS =================================================================== RCS file: /repository/php-src/NEWS,v retrieving revision 1.1760.2.260 diff -u -p -d -r1.1760.2.260 NEWS --- NEWS 22 Feb 2005 14:59:29 -0000 1.1760.2.260 +++ NEWS 23 Feb 2005 11:59:03 -0000 @@ -146,6 +146,8 @@ PHP - Extended the functionality of is_subclass_of() to accept either a class name or an object as first parameter. (Andrey) - Fixed potential problems with unserializing invalid serialize data. (Marcus) +- Fixed bug #32076 (ReflectionMethod::isDestructor() always return true). + (Derick, Tony) - Fixed bug #31034 (Problem with non-existing iconv header file). (Derick) - Fixed bug #30995 (snmp extension does not build with net-snmp 5.2). (Ilia) - Fixed bug #30994 (SOAP server unable to handle request with references). Index: Zend/zend_reflection_api.c =================================================================== RCS file: /repository/ZendEngine2/zend_reflection_api.c,v retrieving revision 1.111.2.17 diff -u -p -d -r1.111.2.17 zend_reflection_api.c --- Zend/zend_reflection_api.c 22 Jan 2005 12:29:13 -0000 1.111.2.17 +++ Zend/zend_reflection_api.c 23 Feb 2005 11:59:04 -0000 @@ -2018,7 +2018,7 @@ ZEND_METHOD(reflection_method, isDestruc METHOD_NOTSTATIC_NUMPARAMS(0); GET_REFLECTION_OBJECT_PTR(mptr); - RETURN_BOOL(mptr->common.fn_flags && ZEND_ACC_DTOR); + RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_DTOR); } /* }}} */