cvs: ZendEngine2 / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Mon, 08 Mar 2004 00:19:43 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2452@lists.php.net to get a copy of this message | ||
helly Sun Mar 7 19:19:43 2004 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
Add another missing conversion
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.92&r2=1.93&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.92 ZendEngine2/zend_reflection_api.c:1.93
--- ZendEngine2/zend_reflection_api.c:1.92 Mon Mar 1 12:43:57 2004
+++ ZendEngine2/zend_reflection_api.c Sun Mar 7 19:19:43 2004
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.92 2004/03/01 17:43:57 andi Exp $ */
+/* $Id: zend_reflection_api.c,v 1.93 2004/03/08 00:19:43 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -1317,6 +1317,7 @@
if (Z_TYPE_PP(classref) == IS_OBJECT) {
ce = Z_OBJCE_PP(classref);
} else {
+ convert_to_string_ex(classref);
if (zend_lookup_class(Z_STRVAL_PP(classref), Z_STRLEN_PP(classref), &pce TSRMLS_CC) ==
FAILURE) {
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
"Class %s does not exist", Z_STRVAL_PP(classref));