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--EXPECT--
19string(11) "hello world"
20string(11) "hello world"
21