Index: /branches/1.0/processor/head.m4
===================================================================
--- /branches/1.0/processor/head.m4	(revision 96)
+++ /branches/1.0/processor/head.m4	(revision 97)
@@ -201,5 +201,5 @@
 #endif
 		SET_IF_SAME_NAME(__call);
-#if PHP_MAJOR_VERSION >= 6
+#if defined(ZEND_ENGINE_2_2) || PHP_MAJOR_VERSION >= 6
 		SET_IF_SAME_NAME(__tostring);
 #endif
Index: /branches/1.0/processor/processor.m4
===================================================================
--- /branches/1.0/processor/processor.m4	(revision 96)
+++ /branches/1.0/processor/processor.m4	(revision 97)
@@ -344,5 +344,5 @@
 	COPY(__unset)
 	COPY(__isset)
-# if PHP_MAJOR_VERSION >= 6
+# if defined(ZEND_ENGINE_2_2) || PHP_MAJOR_VERSION >= 6
 	COPY(__tostring)
 # endif
