PHP code example of initphp / var-dumper

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

    

initphp / var-dumper example snippets


$obj = new stdClass;
$obj->pi = 3.14;

dump($obj);

$var = 'xml';

dd($var);