cvs: ZendEngine2 / zend_reflection_api.c
| From: | Derick Rethans | Date: | Wed, 23 Feb 2005 12:20:04 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3430@lists.php.net to get a copy of this message | ||
derick Wed Feb 23 07:20:04 2005 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
- Fixed bug #32076 (ReflectionMethod :: isDestructor() always return true)
(Patch by Antony Dogval)
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.147&r2=1.148&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.147 ZendEngine2/zend_reflection_api.c:1.148
--- ZendEngine2/zend_reflection_api.c:1.147 Sun Feb 13 18:04:48 2005
+++ ZendEngine2/zend_reflection_api.c Wed Feb 23 07:20:04 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.147 2005/02/13 23:04:48 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.148 2005/02/23 12:20:04 derick Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -2190,7 +2190,7 @@
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);
}
/* }}} */