PHP Classes
elePHPant
Icontem

PHP Array Dump: creates a readable string from an array obejct

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2002-03-29 (13 years ago) RSS 2.0 feedNot enough user ratingsTotal: 579 All time: 5,007 This week: 1,009Up
Version License PHP version Categories  
array-dump 1.0Unspecified (ask ...3Debug, Data types
Description Author  

This class can create a readable string from an array.

It can traverse an array and generate a text string that shows the array values.

Nested arrays are traversed recursively up to a certain level of depth.

Picture of henrik
Name: henrik <contact>
Classes: 1 package by
Country: Seychelles
Age: ???
All time rank: 28611 in Seychelles
Week rank: 1486 Up1 in Seychelles Equal

Details  
context:debug function
info: full array dump
autor: henrik groehling
email: henrik@veder.net


hello all,

this are two helpfull functions if you don't have a full scale debug environment.

the class hgsarraydump can be used to create a readable string from an array object:

hope that some can use this.

exapample:

include "hgsarraydump.php";
$ardump = new hgsarraydump();
$ardump->Fill("GLOBALS",$GLOBALS);
$ardump->Trace();


all the best

henrik groehling
henrik@veder.net
  Files folder image Files  
File Role Description
Plain text file hgsarraydump.php Class source file
Accessible without login Plain text file readme.txt Doc. readme

 Version Control Unique User Downloads Download Rankings  
 0%Total:579All time:5,007
 This week:0This week:1,009Up