PHP code example of ricardoper / ddumper

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

    

ricardoper / ddumper example snippets


 ddd(true, 1234, 'string', [
    'key1' => 'val1',
    'key2' => [
        'l1_key1' => 'l1_val1',
        'l1_key2' => 'l1_val2',
        'l1_key3' => [
             'l2_key1' => 'l2_val1',
             'l2_key2' => 'l2_val2',
         ],
    ],
]);


 dde(true, 1234, 'string', [
    'key1' => 'val1',
    'key2' => [
        'l1_key1' => 'l1_val1',
        'l1_key2' => 'l1_val2',
        'l1_key3' => [
             'l2_key1' => 'l2_val1',
             'l2_key2' => 'l2_val2',
         ],
    ],
]);