summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-07-16 02:44:50 +0000
committerXuefer <xuefer@gmail.com>2013-07-16 02:44:50 +0000
commit98eb42c690edc596872e65ca1d989b57f28943ee (patch)
treeed0544a6e2742955f02138d7b7aa453212b3ef12 /xcache
parentefab40dc18fe66a77d24dea703ed0eb3acdaf6e3 (diff)
downloadxcache-98eb42c690edc596872e65ca1d989b57f28943ee.tar.gz
xcache-98eb42c690edc596872e65ca1d989b57f28943ee.zip
fix type string for PHP5.1-
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1326 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'xcache')
-rw-r--r--xcache/xc_const_string.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/xcache/xc_const_string.c b/xcache/xc_const_string.c
index 19e50db..94f48da 100644
--- a/xcache/xc_const_string.c
+++ b/xcache/xc_const_string.c
@@ -40,10 +40,18 @@ static const char *const data_type_names[] = {
/* 0 */ "IS_NULL",
/* 1 */ "IS_LONG",
/* 2 */ "IS_DOUBLE",
+#ifdef ZEND_ENGINE_2_1
/* 3 */ "IS_BOOL",
+#else
+ /* 6 */ "IS_STRING",
+#endif
/* 4 */ "IS_ARRAY",
/* 5 */ "IS_OBJECT",
+#ifdef ZEND_ENGINE_2_1
/* 6 */ "IS_STRING",
+#else
+ /* 3 */ "IS_BOOL",
+#endif
/* 7 */ "IS_RESOURCE",
/* 8 */ "IS_CONSTANT",
/* 9 */ "IS_CONSTANT_ARRAY",