
Added by thebman220 on October-12-2008, 2:35 pm
<?php
function sprint_r($var) {
ob_start();
print_r($var);
$output=ob_get_contents();
ob_end_clean();
return $output;
}
?>
<?php
$array=array("1","2",array("3",array("4")),"5",array("6"));
$str=sprint_r($array);
?>
Added by thebman220 on October-14-2008, 4:36 pm
Added by thebman220 on October-13-2008, 5:01 pm
Added by thebman220 on October-13-2008, 12:13 am
Added by thebman220 on October-12-2008, 10:22 pm
Added by thebman220 on October-12-2008, 9:36 pm