PHP code example of marcocesarato / dumper

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

    

marcocesarato / dumper example snippets


use marcocesarato\dumper\Dumper;

$arr = [1,2,3,4,5];

$dump = Dumper::get($arr, $arr /* , ... */); // Get string of dump
Dumper::out($arr /* , ... */); // Print
Dumper::fatal($arr /* , ... */); // Print and die