$memory_limit = ini_get('memory_limit'); echo "Memory Limit: " . $memory_limit . "\n";
$max_execution_time = ini_get('max_execution_time'); echo "Max Execution Time: " . $max_execution_time . "\n";
$error_reporting = ini_get('error_reporting'); echo "Error Reporting: " . $error_reporting . "\n";In each of these examples, the ini_get() function is used to retrieve a specific configuration setting and the value is then printed to the screen. This function is useful for determining the current configuration of PHP and can be used to troubleshoot issues related to configuration settings.