Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sets the value of a configuration option
Alias ini_alter
<?php ini_set(string $option, string|int|float|bool|null $value): string|false
<?php     public static function dump($var, int $maxDepth = 2): string

    {

        $html = ini_set('html_errors', '1');

        assert(is_string($html));



        if (extension_loaded('xdebug')) {
<?php         assert(is_string($html));



        if (extension_loaded('xdebug')) {

            ini_set('xdebug.var_display_max_depth', (string) $maxDepth);

        }



        $var = self::export($var, $maxDepth);
<?php             return strip_tags(html_entity_decode($output));

        } finally {

            ini_set('html_errors', $html);

        }

    }