Skip to content

The Advance Var Dumper component provides mechanisms for walking through any arbitrary PHP variable. It provides a better `pre_print()` function that you can use instead of `print_r`.

License

Notifications You must be signed in to change notification settings

tuhin18003/var-dumper-made-easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advance Var Dumper Component

The Advance Var Dumper component provides mechanisms for walking through any arbitrary PHP variable. It provides a better pre_print() function that you can use instead of print_r().

Install

Via Composer

$ composer require --dev tuhin18003/advance-var-dumper

Usage

require './vendor/autoload.php';

It takes 2 parameters. First one is your data ( array/ object/ string) and second can be any string as flag!

pre_print( $data = '', $text = '' )

$arr =['test','te1','hello'];

pre_print($arr);

Output

------------------------------DEBUG MODE START------------------------------

File Name: E:\webApps\xampp-new-64\htdocs\my-websites\custom-scripts\myScripts.php
Line No: 30

Array
(
    [0] => test
    [1] => te1
    [2] => hello
)


------------------------------DEBUG MODE END------------------------------

Credentials

codesolz.net

About

The Advance Var Dumper component provides mechanisms for walking through any arbitrary PHP variable. It provides a better `pre_print()` function that you can use instead of `print_r`.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages