From professional translators, enterprises, web pages and freely available translation repositories.
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);
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting
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.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
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.
Last Update: 2011-10-24
Usage Frequency: 1
Quality: