<?php
arr stream_get_wrappers ( )
?>
<table width="100%" cellspacing="5"
cellpadding="5" border="1"
align="center"><tbody><tr>
<td colspan="3">
REGISTERED STREAM WRAPPERS</td></tr>
<tr><td>ARRAY INDEX</td><td>TYPE</td>
<td>NAME</td></tr>
<?php
$st_wr = stream_get_wrappers();
$cnt_wr = count($st_wr);
for($i=0; $i < $cnt_wr; $i++)
{
echo '<tr><td>' . $i . '</td><td>' .
strtoupper(gettype($st_wr[$i])) . '</td><td>' .
$st_wr[$i] . '</td></tr>';
}
?>
<tr><td colspan="3">ed48</td></tr>
</tbody></table>
REGISTERED STREAM WRAPPERS | ||
ARRAY INDEX | TYPE | NAME |
0 | STRING | php |
1 | file | |
2 | glob | |
3 | data | |
4 | http | |
5 | ftp | |
6 | zip | |
7 | compress.zlib | |
8 | https | |
9 | ftps | |
10 | phar | |
ed48 |