A partir de tradutores profissionais, empresas, páginas da web e repositórios de traduções disponíveis gratuitamente
an interesting use of this function is to construct an array of arrays, which can be easily performed by using null as the name of the callback function
$a = array( 1, 2, 3, 4, 5); $b = array("one", "two", "three", "four", "five"); $c = array("uno", "dos", "tres", "cuatro", "cinco"); $d = array_map(null, $a, $b, $c); print_r($d);
Última atualização: 2011-10-24
Frequência de uso: 1
Qualidade:
Aviso: contém formatação HTML invisível
array_filter() returns an array containing all the elements of input filtered according a callback function. if the input is an associative array the keys are preserved.
dacă input este un tablou asociativ, indecşii sunt păstraţi.
Última atualização: 2011-10-24
Frequência de uso: 1
Qualidade:
users may not change the array itself from the callback function. e.g. add/delete an element, unset the array that array_filter() is applied to. if the array is changed, the behavior of this function is undefined.
dacă tabloul iniţial este schimbat comportamentul funcţiei este impredictibil.
Última atualização: 2011-10-24
Frequência de uso: 1
Qualidade: