Script for PHP debuging
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
joomla
logs
test Tests + Tools examples Sep 3, 2014
tools
.editorconfig
LICENSE Initial commit Aug 15, 2014
README.md
_template.php
autoload.php
class.jbdump.php
composer.json Update composer.json Mar 18, 2016
favicon.ico Tests + Tools examples Sep 3, 2014
htaccess.example
index.php Tests + Tools examples Sep 3, 2014
init.php.example Start v1.3.4 Sep 3, 2014
styles.less

README.md

JBDump

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"