For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > October 2005 > cvs: ZendEngine2(PHP_5_1) / zend_reflection_api.c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2(PHP_5_1) / zend_reflection_api.c
Marcus Boerger

2005-10-06, 6:55 pm

helly Thu Oct 6 18:46:36 2005 EDT

Modified files: (Branch: PHP_5_1)
/ZendEngine2 zend_reflection_api.c
Log:
- MFH ReflectionClass::isInstantiable and abstract classes

http://cvs.php.net/diff.php/ZendEng...=1.164.2.7&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.164.2.6 ZendEngine2/zend_reflection_api.c:1.164.2.7
--- ZendEngine2/zend_reflection_api.c:1.164.2.6 Fri Sep 16 16:21:46 2005
+++ ZendEngine2/zend_reflection_api.c Thu Oct 6 18:46:33 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/

-/* $Id: zend_reflection_api.c,v 1.164.2.6 2005/09/16 20:21:46 tony2001 Exp $ */
+/* $Id: zend_reflection_api.c,v 1.164.2.7 2005/10/06 22:46:33 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -2900,7 +2900,7 @@

METHOD_NOTSTATIC_NUMPARAMS(reflection_cl
ass_ptr, 0);
GET_REFLECTION_OBJECT_PTR(ce);
- if (ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_ABSTRACT)) {
+ if (ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_IMPLICIT_ABSTRACT_CLASS | ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) {
RETURN_FALSE;
}

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com