I would like to return multiple arrays and then separate them.
function cal(){
$st1=array('1','2');
$st2=array('1','2');
return $st1."-".$st2;
}
call it
$mainstring=explode("-",cal())
print_r($mainstring[0]);
print_r($mainstring[1]);
I want to get original array of $st1 and $st2.
Please help.