extension_loaded
webmozart/glob
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find out whether an extension is loaded
<?php extension_loaded
(
string $extension
):
bool