summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Bootstrap.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index 5e4198730..8240d2340 100644
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -1,5 +1,9 @@
<?php
-ini_set('memory_limit', '128M');
+// For some reason, setting this fixes the 5.2 tests but breaks the 5.3 ones ...
+if (version_compare(PHP_VERSION, '5.3.0', '<'))
+{
+ ini_set('memory_limit', '128M');
+}
// Errors on full!
ini_set('display_errors', 1);