mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
9a4cc52c23
Also remove tests that target only old PHP versions.
16 lines
417 B
PHP
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)
|