From 8957f067636d6d498c23ceb917e4d9a4c552c97c Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 11 Apr 2007 22:35:25 +0000 Subject: [PATCH] MFB --- Zend/tests/bug40770.phpt | 4 ++-- ext/date/tests/bug35885.phpt | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Zend/tests/bug40770.phpt b/Zend/tests/bug40770.phpt index fd01303f7fc..ce6bbbdaa9f 100755 --- a/Zend/tests/bug40770.phpt +++ b/Zend/tests/bug40770.phpt @@ -1,7 +1,7 @@ --TEST-- Bug #40770 Apache child exits when PHP memory limit reached --INI-- -memory_limit=64M +memory_limit=8M --FILE-- --EXPECTF-- -Fatal error: Allowed memory size of 67108864 bytes exhausted%s(tried to allocate %d bytes) in %sbug40770.php on line 6 +Fatal error: Allowed memory size of 8388608 bytes exhausted%s(tried to allocate %d bytes) in %s on line %d diff --git a/ext/date/tests/bug35885.phpt b/ext/date/tests/bug35885.phpt index 5f4e5d58cff..60fc2ca6959 100644 --- a/ext/date/tests/bug35885.phpt +++ b/ext/date/tests/bug35885.phpt @@ -7,7 +7,13 @@ date_default_timezone_set("UTC"); $ts = date(DATE_ISO8601, strtotime('NOW')); $ts2 = date(DATE_ISO8601, time()); -var_dump($ts == $ts2); +$res = ($ts == $ts2); +var_dump($res); + +if (!$res) { + var_dump($ts); + var_dump($ts2); +} ?> --EXPECT--