PHP code example of basteyy / var-debug

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

    

basteyy / var-debug example snippets



// get autoloader
rDebug($variable);

const VAR_DEBUG_REQUEST = false;        // $_REQUEST will not be shown
const VAR_DEBUG_POST = false;           // $_POST will not be shown
const VAR_DEBUG_GET = false;            // $_GET will not be shown
const VAR_DEBUG_SERVER = false;         // $_SERVER will not be shown
const VAR_DEBUG_BACKTRACE = false;      // backtrace will not be shown