PHP/Utility Function/get loaded extensions

Материал из Web эксперт
Перейти к: навигация, поиск

array get_loaded_extensions ( void ) takes no parameters and returns an array of the names of all extensions you have loaded.

 
<?
    $extensions = get_loaded_extensions( );
    echo "Extensions loaded:\n";
    foreach($extensions as $extension) {
            echo " $extension\n";
    }
?>