How to check which wrappers are installed in PHP

1 Answer

0 votes
echo "<pre>";
print_r(stream_get_wrappers()); 
echo "</prev>";
 
/*
run: 

Array
(
    [0] => php
    [1] => file
    [2] => glob
    [3] => data
    [4] => http
    [5] => ftp
    [6] => zip
    [7] => compress.zlib
    [8] => phar
)

*/

 



answered May 31, 2016 by avibootz

Related questions

...