日期:2014-05-17 浏览次数:20477 次
$a=Array ( [0] => 1 [1] => 2 )
$b=Array ( [0] => 1 [1] => 2 )
$c=Array ( [0] => 128 [1] => 108 )
$d=Array ( [0] => 128 [1] => 216 )
$a=Array ( [0] => 1 [1] => 2 [2] => 3 )
$b=Array ( [0] => 1 [1] => 2 [2] => 2 )
$c=Array ( [0] => 128 [1] => 108 [2] => 420 )
$d=Array ( [0] => 128 [1] => 216 [2] => 840 )
$a = Array ( 0 => 1, 1 => 2, 2 => 3 );1
$b = Array ( 0 => 1, 1 => 2, 2 => 2 );
$c = Array ( 0 => 128, 1 => 108, 2 => 420 );
$d = Array ( 0 => 128, 1 => 216, 2 => 840 );
echo foo($a, $b, $c, $d);
function foo() {
foreach(func_get_args() as $t) {
foreach($t as $i=>$v)
$r[$i][] = $v;
}
foreach($r as $i=>$v)
$r[$i] = join('
------解决方案--------------------
', $v);
return join('
------解决方案--------------------
~', $r);
}