How can one determine if a specific module, such as mbstring, has been loaded in PHP?

To determine if a specific module, such as mbstring, has been loaded in PHP, you can use the `extension_loaded()` function. This function checks if a PHP extension is loaded and returns true if it is, or false if it is not. By using this function with the module name 'mbstring', you can check if the mbstring module is loaded in the PHP configuration.

if (extension_loaded('mbstring')) {
    echo 'The mbstring module is loaded.';
} else {
    echo 'The mbstring module is not loaded.';
}