Skip to content

johansatge/printr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A lightweight, simple var_dump replacement.

$var = array('sample', 10, false, null);
printr($var);

Logo


Installation

  • Install & load the printr.php file
  • May be used as a WordPress mu-plugin (/path-to-wp/wp-content/mu-plugins)

Usage

printr($var, $echo, $context);
Parameter Default Description
$var None The variable to inspect
$echo true Outputs the result (the HTML is also returned as a string)
$context true Outputs the file and line where the function has been called, if available

Changelog

Version Date Notes
1.0.0 September 11, 2015 Initial version

License

This project is released under the MIT License.

About

A lightweight, simple var_dump replacement.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages