<?php array_replace_recursive(array $array, array ...$replacements): array
<?php public function newInstance(array $config = []) { $parser = new self(array_replace_recursive($this->config(), $config)); foreach ($this->extensions as $ext) { $parser->addExtensions($ext);