1--TEST--
2array stream_get_wrappers ( void );
3--CREDITS--
4marcosptf - <marcosptf@yahoo.com.br> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br
5--SKIPIF--
6<?php
7if (phpversion() < "5.3.0") {
8  die('SKIP php version so lower.');
9}
10?>
11--FILE--
12<?php
13print((is_array(stream_get_wrappers())) ? ("yes") : ("Test 'array stream_get_wrappers ( void );' has failed"));
14echo "\n";
15class Foo { }
16stream_wrapper_register("foo", "Foo");
17var_dump(in_array("foo", stream_get_wrappers()));
18?>
19--EXPECT--
20yes
21bool(true)
22