Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Richard Munroe  >  Structured Data Dumper  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example, try running it interactively, then accessing by a browser.
Class: Structured Data Dumper
Dump variable values in a human readable forma
Author: By
Last change: Spelling change in the description
Date: 10 years ago
Size: 297 bytes
 

Contents

Class file image Download
<?php

include_once("class.SDD.php") ;

class 
a
{
  var 
$a ;
}

class 
extends a
{
  var 
$b ;
}

class 
extends b
{
  var 
$c ;
}

$theClass = new c() ;
$theArray = array('a' => 1=> 2'b' => 3) ;

echo 
SDD::dump($theClass) ;
echo 
SDD::dump($theArray) ;
?>