2017 © Pedro Peláez
 

library debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

image

flextype-components/debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

  • Tuesday, July 10, 2018
  • by Awilum
  • Repository
  • 1 Watchers
  • 0 Stars
  • 83 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 66 % Grown

The README.md

Debug Component

versionMIT License, (*1)

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display., (*2)

Installation

composer require flextype-components/debug

Usage

use Flextype\Component\Debug\Debug;

Save current time for current point, (*3)

Debug::elapsedTimeSetPoint('point_name');

Get elapsed time for current point, (*4)

echo Debug::elapsedTime('point_name');

Save current memory for current point php Debug::memoryUsageSetPoint('point_name');, (*5)

Get memory usage for current point, (*6)

echo Debug::memoryUsage('point_name');

Print the variable $data and exit if exit = true, (*7)

Debug::dump($data);

Prints a list of the configuration settings read from php.ini, (*8)

Debug::phpini();

Prints a list of all currently loaded PHP extensions., (*9)

Debug::extensions();

Prints a list of all currently declared constants., (*10)

Debug::constants();

Prints a list of all currently declared functions., (*11)

Debug::functions();

Prints a list of all currently included (or required) files., (*12)

Debug::includes();

Prints a list of all currently declared interfaces., (*13)

Debug::interfaces();

Prints a list of all currently declared classes., (*14)

Debug::classes();

License

See LICENSE, (*15)

The Versions

10/07 2018

dev-master

9999999-dev https://github.com/flextype-components/debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

debug

10/07 2018

v1.1.0

1.1.0.0 https://github.com/flextype-components/debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

debug

12/04 2018

v1.0.0

1.0.0.0 https://github.com/flextype-components/debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

debug