summaryrefslogtreecommitdiff
path: root/ext/standard/tests/http/bug60570.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/http/bug60570.phpt')
-rw-r--r--ext/standard/tests/http/bug60570.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/http/bug60570.phpt b/ext/standard/tests/http/bug60570.phpt
index d1784b0554..29c6a46f17 100644
--- a/ext/standard/tests/http/bug60570.phpt
+++ b/ext/standard/tests/http/bug60570.phpt
@@ -19,7 +19,7 @@ function do_test() {
$pid = http_server("tcp://127.0.0.1:12342", $responses, $output);
- $a = $b = null;
+ $a = $b = count(get_resources());
$i = 3;
while ($i--) {
@@ -28,7 +28,7 @@ function do_test() {
unset($context);
$b = $a;
- $a = memory_get_usage();
+ $a = count(get_resources());
}
http_server_kill($pid);