PHP code example of kktsvetkov / krumo

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

    

kktsvetkov / krumo example snippets




	krumo(array('a1'=> 'A1', 3, 'red'));

	krumo($_SERVER, $_REQUEST);

	$x1->x2->x3->x4->x5->x6->x7->x8->x9 = 'X10';
	krumo($x1);

	// print a debug backgrace
 	krumo::backtrace();

	// print all the included(or 	// print all the declared classes
	krumo::classes();

	// print all the defined constants
	krumo::defines();

	$a = krumo::fetch($app, $env);

	krumo::queue($request);

	krumo::$skin = 'blue';

	// set up using the "kaloyan.info" skin
	krumo::$skin = 'kaloyan.info';

	// set up using the "default" skin
	krumo::$skin = 'default';

	// set up using the "blue" skin
	krumo::$skin = 'blue';

	// set up using the "orange" skin
	krumo::$skin = 'orange';

	// set up using the "green" skin
	krumo::$skin = 'green';