PHP 8.3.4 Released!

get_loaded_extensions

(PHP 4, PHP 5, PHP 7, PHP 8)

get_loaded_extensions Restituisce una matrice con il nome di tutti i moduli compilati e caricati

Descrizione

get_loaded_extensions(): array

Restituisce una matrice con il nome di tutti i moduli compilati e caricati nell'interprete PHP.

Ad esempio la seguente linea:

<?php
print_r
(get_loaded_extensions());
?>

restituirĂ  qualcosa simile a:

Array
(
   [0] => xml
   [1] => wddx
   [2] => standard
   [3] => session
   [4] => posix
   [5] => pgsql
   [6] => pcre
   [7] => gd
   [8] => ftp
   [9] => db
   [10] => calendar
   [11] => bcmath
)

Vedere anche get_extension_funcs(), extension_loaded(), dl() e phpinfo().

+add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top