Index: /trunk/xcache.h
===================================================================
--- /trunk/xcache.h	(revision 76)
+++ /trunk/xcache.h	(revision 78)
@@ -26,4 +26,7 @@
 #if !defined(ZEND_ENGINE_2_1) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1 || PHP_MAJOR_VERSION > 5)
 #	define ZEND_ENGINE_2_1
+#endif
+#if !defined(ZEND_ENGINE_2_2) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 2 || PHP_MAJOR_VERSION > 5)
+#	define ZEND_ENGINE_2_2
 #endif
 
Index: /trunk/processor/processor.m4
===================================================================
--- /trunk/processor/processor.m4	(revision 56)
+++ /trunk/processor/processor.m4	(revision 78)
@@ -237,4 +237,8 @@
 	PROC_USTRING_L(, doc_comment, doc_comment_len)
 #endif
+	dnl isnt in php6 yet
+#if defined(ZEND_ENGINE_2_2) && !defined(IS_UNICODE)
+	PROC_CLASS_ENTRY_P(ce)
+#endif
 ')
 #endif
