php-src/ext/standard/tests/streams/stream_get_wrappers.phpt
Gabriel Caruso 9a4cc52c23 Remove superfluous PHP version check in tests
Also remove tests that target only old PHP versions.
2018-02-04 16:58:54 +01:00

16 lines
417 B
PHP

--TEST--
array stream_get_wrappers ( void );
--CREDITS--
marcosptf - <marcosptf@yahoo.com.br> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br
--FILE--
<?php
print((is_array(stream_get_wrappers())) ? ("yes") : ("Test 'array stream_get_wrappers ( void );' has failed"));
echo "\n";
class Foo { }
stream_wrapper_register("foo", "Foo");
var_dump(in_array("foo", stream_get_wrappers()));
?>
--EXPECT--
yes
bool(true)