Detect use of `ini_set()`

Using ini_set() and similar functions for altering PHP settings at runtime is discouraged. Changing runtime configuration might break other plugins and themes, and even WordPress itself.

Valid: ini_set() for a possibly breaking setting.

// ini_set() should not be used.

Invalid: ini_set() for a possibly breaking setting.

ini_set( <em>'short_open_tag'</em>, 'off' );
For some configuration values there are alternative ways available - either via WordPress native functionality of via standard PHP - to achieve the same without the risk of breaking interoperability. These alternatives are preferred.

Valid: WordPress functional alternative.

<em>wp_raise_memory_limit();</em>

Invalid: ini_set() to alter memory limits.

ini_set( <em>'memory_limit'</em>, '256M' );