PHP code example of bohmm / php-dumper
1. Go to this page and download the library: Download bohmm/php-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/ */
bohmm / php-dumper example snippets
$variable = 'hello world';
# display default mode
$dumper = new \Bohmm\PhpDumper\Dumper($variable);
echo $dumper->dump();
# display inline mode
$dumper = new \Bohmm\PhpDumper\Dumper($variable, true);
echo $dumper->dump();
$variable = 'hello world';
# display the variable (default or inline mode)
dump($variable);
dump($variable, true);
# display the variable and terminate other scripts (default or inline mode)
ddump($variable);
ddump($variable, true);
bash
composer