PHP code example of aronduby / dump

1. Go to this page and download the library: Download aronduby/dump 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/ */

    

aronduby / dump example snippets


D::ump($arg1);

D::ump($arg1, $arg2, $arg3);

$ds = new \D\DumpSettings(D::KILL | D::EXPAND, 'This is a Title');
D::ump($arg1, $arg2, $ds);

D::ump($arg1, $arg2, D::S(D::KILL | D::EXPAND, 'This is a Title'));

D::config([
	'css_file' => "absolute/path/to/your/custom/css/file.css",
	'display.cascade' => [5, 10],
	'sorting.arrays' => false
]);
// ... some other stuff in your code
D::ump($arg1);