
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 May-2-2009, 4:40 am
Added by thebman220 on April-29-2009, 11:47 pm
Added by thebman220 on April-5-2009, 1:48 pm
Added by thebman220 on January-29-2009, 3:15 am
Added by thebman220 on January-29-2009, 3:04 am