| Additional Information | Index: xdebug_compat.c
RCS file: /repository/xdebug/xdebug_compat.c,v
retrieving revision 1.4
diff -u -r1.4 xdebug_compat.c
--- xdebug_compat.c 11 Apr 2004 14:44:04 -0000 1.4
+++ xdebug_compat.c 19 Jul 2004 14:47:12 -0000
@@ -302,7 +302,11 @@
|| ((int)T->str_offset.offset<0)
|| (T->str_offset.str->value.str.len <= T->str_offset.offset)) {
zend_error(E_NOTICE, "Uninitialized string offset: %d", T->str_offset.offset);
+#if ZEND_EXTENSION_API_NO < 220040718
T->tmp_var.value.str.val = empty_string;
+#else
- T->tmp_var.value.str.val = STR_EMPTY_ALLOC();
+#endif
T->tmp_var.value.str.len = 0;
} else {
char c = str->value.str.val[T->str_offset.offset];
@@ -365,7 +369,11 @@
|| (T->EA.data.str_offset.offset<0)
|| (T->EA.data.str_offset.str->value.str.len <= T->EA.data.str_offset.offset)) {
zend_error(E_NOTICE, "Uninitialized string offset: %d", T->EA.data.str_offset.offset);
+#if ZEND_EXTENSION_API_NO < 220040718
T->tmp_var.value.str.val = empty_string;
+#else
- T->tmp_var.value.str.val = STR_EMPTY_ALLOC();
+#endif
T->tmp_var.value.str.len = 0;
} else {
char c = str->value.str.val[T->EA.data.str_offset.offset];
|
|---|