2017 © Pedro Peláez
 

library debugvar

Debugvar is a PHP library to debug variables.

image

provolik/debugvar

Debugvar is a PHP library to debug variables.

  • Wednesday, April 12, 2017
  • by provolik
  • Repository
  • 2 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 11 % Grown

The README.md

DEBUG VAR FUNCTION FOR PHP

How many time did you write:, (*1)

echo '<pre>';
print_r($array);
echo '</pre>';

I am quite sure you know what I mean. So I created the debugVar function., (*2)

Installation

You can install it using composer from command line:, (*3)

composer require provolik/debugvar, (*4)

How to use

If you want know the content of your var, simply put it in the function, like this:, (*5)

debugvar($variables);, (*6)

You can pass to it how many vars you want:, (*7)

debugvar($var1, $var2, $var3, $var4);, (*8)

Often you need to show the var and then call a die:, (*9)

debugvar_die($variables);, (*10)

In other circumstances, for example in production environment, you need to print a var in hide mode:, (*11)

debugvar_hide($variables);, (*12)

And that's all., (*13)

The Versions

12/04 2017

dev-master

9999999-dev

Debugvar is a PHP library to debug variables.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Michele Provolo

debug print_r vardump

11/04 2017

1.0.1

1.0.1.0

Debugvar is a PHP library to debug variables.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Michele Provolo

debug print_r vardump

08/04 2017

1.0.0

1.0.0.0

Debugvar is a PHP library to debug variables.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Michele Provolo

debug print_r vardump