<?php var_export(mixed $value, bool $return = false): ?string
<?php private function pretty_print_array(array $data, $assoc = true) { $output = var_export($data, true); $output = preg_replace('/^\s+/m', ' ', $output); $output = preg_replace(['/^array\s\(/', '/\)$/'], ['[', ' ]'], $output);