5 &',
[' 3 ', ' 7 '],
[' 2 ', ' 4 '],
' 15 ',
' 4 ',
['12 ', ' ', ' 3 ', ' 4'],
];
$begin = microtime...(true);
for ($i = 0; $i < 10000; $i++)
{
array_map_recursive($filters, $data);
}
$t1 = microtime(true...\n";
$begin = microtime(true);
for ($i = 0; $i < 10000; $i++)
{
array_map_all($filters, $data);
}
$...t2 = microtime(true) - $begin;
echo '循环用时: '.sprintf('%.4f', $t2)."