PHP Classes

File: examples/debugging.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse   PHP Dictionary to Array class   examples/debugging.php   Download  
File: examples/debugging.php
Role: Example script
Content type: text/plain
Description: example script
Class: PHP Dictionary to Array class
Manipulate value collections as arrays or objects
Author: By
Last change:
Date: 5 years ago
Size: 1,112 bytes
 

Contents

Class file image Download
<?php
require_once('./../xdict.class.php');
echo
'<pre>';
highlight_string('<?php
$x=xdict(1,\'\',false);
$x->range(0,144,12);
$x->dump();// same as var_dump($x);
$x->export();// same as var_export($x);
$x->printx();// same as $x->__toString(); or echo $x or print($x)
$x->print_xr();//same as print_r($x);
$x->print_or(10);// same as print_r($x->offsetGet($offset));

echo \'<br><br><br>\';

// print_r($x->help());
print($x->help(\'dump\'));

print($x->help(\'printx\'));

print($x->help(\'help\'));

?>'
);


$x=xdict(0,'',false);
$x->range(0,144,12);
$x->dump();// same as var_dump($x);
echo '<br><br><br>';
$x->export();// same as var_export($x);
echo '<br><br><br>';
$x->printx();// same as $x->__toString(); or echo $x or print($x)
echo '<br><br><br>';
$x->print_xr();//same as print_r($x);
echo '<br><br><br>';
$x->print_or(10);// same as print_r($x->offsetGet($offset));
echo '<br><br><br>';

// print_r($x->help());
print($x->help('dump'));
echo
'<br><br><br>';
print(
$x->help('printx'));
echo
'<br><br><br>';
print(
$x->help('help'));
echo
'<br><br><br>';
?>