1--TEST--
2http-stream test
3--EXTENSIONS--
4dom
5--SKIPIF--
6<?php
7if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
8require __DIR__.'/../http/server.inc';
9http_server_skipif();
10?>
11--INI--
12allow_url_fopen=1
13--FILE--
14<?php
15require __DIR__.'/../http/server.inc';
16
17['pid' => $pid, 'uri' => $uri] = http_server([__DIR__."/news.rss"]);
18
19$d = new DomDocument;
20$e = $d->load("$uri/news.rss");
21echo "ALIVE\n";
22http_server_kill($pid);
23?>
24--EXPECT--
25ALIVE
26