PHP code example of cruxoft / dump

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

    

cruxoft / dump example snippets


use function Cruxoft\dump;

dump(array("one", "two", 3));
dump(true);
dump("Hello World");

use Cruxoft\Dump\Options;
use function Cruxoft\dump;

dump("Hello World", Options::INCLUDE_LOCATION);

examples/file.php@4
string(11): "Hello World"