How can a PHP developer determine which functions are allowed and which are restricted by their hosting provider?

To determine which functions are allowed and which are restricted by a hosting provider, a PHP developer can use the `get_loaded_extensions()` function to get a list of all the loaded extensions in PHP. They can then cross-reference this list with the PHP documentation to see which functions are provided by each extension. If a specific function is not available, it may be restricted by the hosting provider.

$loaded_extensions = get_loaded_extensions();

foreach ($loaded_extensions as $extension) {
    $functions = get_extension_funcs($extension);
    echo "Extension: $extension\n";
    echo "Functions: " . implode(", ", $functions) . "\n";
}