unread
Can someone with perms fix the convert_to_explicit_type_ex() macro in
ZendEngine2 ? I don't have commit perms.
Index: Zend/zend_operators.h
RCS file: /repository/ZendEngine2/zend_operators.h,v
retrieving revision 1.100
diff -u -r1.100 zend_operators.h
--- Zend/zend_operators.h 23 Aug 2005 22:05:22 -0000 1.100
+++ Zend/zend_operators.h 30 Sep 2005 10:51:20 -0000
@@ -346,12 +346,11 @@
}
} while (0);
\
-#define convert_to_explicit_type_ex(ppzv, type) \
-
if ((*ppzv)->type != type) { \
+#define convert_to_explicit_type_ex(ppzv, str_type) \
-
if ((*ppzv)->type != str_type) {
SEPARATE_ZVAL_IF_NOT_REF(ppzv); \
-
convert_to_explicit_type(*ppzv, type); \
-
convert_to_explicit_type(*ppzv, str_type); \ } \
-}
#define convert_to_boolean_ex(ppzv) convert_to_ex_master(ppzv,
boolean, BOOL)
#define convert_to_long_ex(ppzv) convert_to_ex_master(ppzv,
long, LONG)