Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Outputs or returns a parsable string representation of a variable
<?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);