PHP code example of vovan-ve / array-dumper

1. Go to this page and download the library: Download vovan-ve/array-dumper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

vovan-ve / array-dumper example snippets


use \VovanVE\array_dumper\ArrayDumper;

$dumper = new ArrayDumper();

$data = [
    'foo' => 42,
    'bar' => 'string',
    'list' => [10, 20, 30],
    'hash' => [
        'lorem' => 23,
        'ipsum' => true,
    ],
];

echo $dumper->dump($data);