To set e.g. error reporting, you can use EITHER error_reporting($X) OR set_ini('error_reporting', $X). But with e.g. error displaying, you can ONLY use set_ini('display_errors', $Y).
Is there any rhyme or reason to predict when a dedicated function will be available to change ini settings, or is it just haphazard historical happenstance?
(I ask because I want to develop a mental model as to when to use one or the other.)