"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/symfony/var-dumper/Dumper/AbstractDumper.php" between
drupal-9.4.4.tar.gz and drupal-9.4.5.tar.gz

About: Drupal is a fully-featured content management/discussion engine suitable to setup a news-driven community or portal site.
9.x release (latest).

AbstractDumper.php  (drupal-9.4.4):AbstractDumper.php  (drupal-9.4.5)
skipping to change at line 48 skipping to change at line 48
private $charset = ''; private $charset = '';
/** /**
* @param callable|resource|string|null $output A line dumper callable, an opened stream or an output path, defaults to static::$defaultOutput * @param callable|resource|string|null $output A line dumper callable, an opened stream or an output path, defaults to static::$defaultOutput
* @param string|null $charset The default character encod ing to use for non-UTF8 strings * @param string|null $charset The default character encod ing to use for non-UTF8 strings
* @param int $flags A bit field of static::DUMP _* constants to fine tune dumps representation * @param int $flags A bit field of static::DUMP _* constants to fine tune dumps representation
*/ */
public function __construct($output = null, string $charset = null, int $fla gs = 0) public function __construct($output = null, string $charset = null, int $fla gs = 0)
{ {
$this->flags = $flags; $this->flags = $flags;
$this->setCharset($charset ?: ini_get('php.output_encoding') ?: ini_get( 'default_charset') ?: 'UTF-8'); $this->setCharset($charset ?: \ini_get('php.output_encoding') ?: \ini_ge t('default_charset') ?: 'UTF-8');
$this->decimalPoint = \PHP_VERSION_ID >= 80000 ? '.' : localeconv()['dec imal_point']; $this->decimalPoint = \PHP_VERSION_ID >= 80000 ? '.' : localeconv()['dec imal_point'];
$this->setOutput($output ?: static::$defaultOutput); $this->setOutput($output ?: static::$defaultOutput);
if (!$output && \is_string(static::$defaultOutput)) { if (!$output && \is_string(static::$defaultOutput)) {
static::$defaultOutput = $this->outputStream; static::$defaultOutput = $this->outputStream;
} }
} }
/** /**
* Sets the output destination of the dumps. * Sets the output destination of the dumps.
* *
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)