1--TEST--
2Stream: RFC2397 getting the data
3--INI--
4allow_url_fopen=1
5--FILE--
6<?php
7
8$data = 'data://,hello world';
9
10var_dump(file_get_contents($data));
11
12$file = fopen($data, 'r');
13unset($data);
14
15var_dump(stream_get_contents($file));
16
17?>
18===DONE===
19--EXPECT--
20string(11) "hello world"
21string(11) "hello world"
22===DONE===