Index: /trunk/ChangeLog
===================================================================
--- /trunk/ChangeLog	(revision 828)
+++ /trunk/ChangeLog	(revision 829)
@@ -14,4 +14,5 @@
 ========
  * fix constant name handling (possible SIGSEGV)
+ * tests/bug52160.phpt: report multiple error correctly
 
 1.3.2 2012-03-23
Index: /trunk/utils.c
===================================================================
--- /trunk/utils.c	(revision 828)
+++ /trunk/utils.c	(revision 829)
@@ -617,5 +617,5 @@
 			compilererror = &sandbox->compilererrors[i];
 			CG(zend_lineno) = compilererror->lineno;
-			zend_error(type, "%s", compilererror->error);
+			zend_error(compilererror->type, "%s", compilererror->error);
 		}
 		CG(zend_lineno) = orig_lineno;
Index: /trunk/xcache-test.ini
===================================================================
--- /trunk/xcache-test.ini	(revision 828)
+++ /trunk/xcache-test.ini	(revision 829)
@@ -1,3 +1,4 @@
 memory_limit = 256M
+error_reporting = E_ALL|E_STRICT
 
 [xcache]
