code: function checkPhpIniOff($name)
      {
          $value = ini_get($name);
          if (empty($value)) {
              return true;
          }
  
          return (strtolower($value) === 'off');
      }
docs: Checks if PHP configuration option (from php.ini) is off.
  @param string $name configuration option name.
  @return bool option is off.