Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
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);
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta
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.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
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.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità: