1--TEST--
2Stream: RFC2397 Mozilla tests
3--INI--
4allow_url_fopen=1
5--FILE--
6<?php
7
8$streams = array(
9	'data://,;test',
10	'data://text/plain,test',
11	'data://text/plain;charset=US-ASCII,test',
12	'data://;charset=UTF-8,Hello',
13	'data://text/plain;charset=UTF-8,Hello',
14	'data://,a,b',
15	);
16
17foreach($streams as $stream)
18{
19	var_dump(@file_get_contents($stream));
20}
21
22?>
23===DONE===
24<?php exit(0); ?>
25--EXPECT--
26string(5) ";test"
27string(4) "test"
28string(4) "test"
29bool(false)
30string(5) "Hello"
31string(3) "a,b"
32===DONE===
33