JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrFILE ON : __c04a45/index.php gilour

File "PHPConfiguration.php"

Full Path: /var/www/drive/sentry/sentry/src/Util/PHPConfiguration.php
File size: 441 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace Sentry\Util;

class PHPConfiguration
{
    public static function isBooleanIniOptionEnabled(string $option): bool
    {
        $value = \ini_get($option);

        if (empty($value)) {
            return false;
        }

        // https://www.php.net/manual/en/function.ini-get.php#refsect1-function.ini-get-notes
        return \in_array(strtolower($value), ['1', 'on', 'true'], true);
    }
}