smetdenis/jbdump

This package is abandoned and no longer maintained. The author suggests using the jbzoo/jbdump package instead.

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print_r() and var_dump() functions.

1.5.6 2021-03-31 09:21 UTC

This package is auto-updated.

Last update: 2021-03-31 09:24:18 UTC


README

Script for dumping PHP vars and other debugging. To put it simply, this tool is a perfectly replacement for print_r() and var_dump().

Output example

JBDump example#1 JBDump example#2

Install

Just include class.jbdump.php

You can see examples init:

php.ini .htaccess include

php.ini for windows

auto_prepend_file = Z:\home\adm\jbdump\class.jbdump.php

php.ini for unix-like

auto_prepend_file = /var/www/jdump/data/public_html/class.jbdump.php

.htaccess

php_value auto_prepend_file C:\OpenServer\domains\jbdump\class.jbdump.php

include

include './jbdump/class.jbdump.php';

Using

jbdump($myVar);

Live demo

http://jbdump.org/test/

Composer

composer require "jbzoo/jbdump:1.x-dev"