1--TEST--
2http-stream test
3--SKIPIF--
4<?php
5if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
6if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
7if (!extension_loaded("dom")) die("skip dom extension is not present");
8?>
9--INI--
10allow_url_fopen=1
11--FILE--
12<?php
13$d = new DomDocument;
14$e = $d->load("http://php.net/news.rss");
15echo "ALIVE\n";
16?>
17--EXPECTF--
18ALIVE
19