What is the purpose of ini_set('display_errors', true); in PHP development environments?

The purpose of `ini_set('display_errors', true);` in PHP development environments is to enable the display of error messages on the screen. By setting this configuration option to true, any errors that occur during script execution will be shown directly on the webpage, making it easier to identify and troubleshoot issues.

ini_set('display_errors', true);