Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Set locale information
<?php setlocale(int $category, string $locales, string ...$rest): string|false
<?php         $this->decimalPoint = localeconv();

        $this->decimalPoint = $this->decimalPoint['decimal_point'];



        if ($locale = $this->flags & (self::DUMP_COMMA_SEPARATOR | self::DUMP_TRAILING_COMMA) ? setlocale(\LC_NUMERIC, 0) : null) {

            setlocale(\LC_NUMERIC, 'C');

        }
<?php         $this->decimalPoint = $this->decimalPoint['decimal_point'];



        if ($locale = $this->flags & (self::DUMP_COMMA_SEPARATOR | self::DUMP_TRAILING_COMMA) ? setlocale(\LC_NUMERIC, 0) : null) {

            setlocale(\LC_NUMERIC, 'C');

        }



        if ($returnDump = true === $output) {
<?php                 $this->setOutput($prevOutput);

            }

            if ($locale) {

                setlocale(\LC_NUMERIC, $locale);

            }

        }