What is PHP ini_set() ?

Sets the value of the given configuration option. The configuration option will keep this new value during the script’s execution, and will be restored at the script’s ending.

<?php
echo ini_get(‘display_errors’);
if (!ini_get(‘display_errors’)) {
ini_set(‘display_errors’, 1);
}
echo ini_get(‘display_errors’);
?>