previousGtk2_VarDump (Previous) (Next) Re-using Gtk2_VarDumpnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Introduction

Introduction – About Gtk2_VarDump

About Gtk2_VarDump

Gtk2_VarDump is a simple GUI to examine PHP variables, for example complex arrays or objects. It displays the variable and all sub-variables/array keys/sub-objects in the left pane (a GtkTreeView), and the actual values in a list view on the right side.

The class is very easy to use: Just include the file, and call the static display method with the variable you want to have dumped.

Showing a variable with Gtk2_VarDump

<?php
//include the file
require_once 'Gtk2/VarDump.php';

$myvar = array(
    
'hello'=> 'world',
    array(
123'blubb')
);

//graphically dump the variable in an own window
Gtk2_VarDump::display($myvar'variable title');
?>
previousGtk2_VarDump (Previous) (Next) Re-using Gtk2_VarDumpnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.