From professional translators, enterprises, web pages and freely available translation repositories.
$gyumolcsok = array ("d"= "citrom", "a"= "narancs", "b"= "banán", "c"= "alma"); function teszt_atir ($elem1, $index, $prefix) {$elem1 = "$prefix: $elem1";} function teszt_kiir ($elem2, $index) {echo "$index. $elem2 br \n";} echo "előtte ...:\n"; array_walk ($gyumolcsok, 'test_kiir'); reset ($gyumolcsok); array_walk ($gyumolcsok, 'test_atir', 'gyumolcs'); echo "... és utána:\n"; reset ($gyumolcsok); array_walk ($gyumolcsok, 'test_kiir');
$fruits = array ("d"= "lemon", "a"= "orange", "b"= "banana", "c"= "apple"); function test_alter ($item1, $key, $prefix) {$item1 = "$prefix: $item1";} function test_print ($item2, $key) {echo "$key. $item2 br \n";} echo "before ...:\n"; array_walk ($fruits, 'test_print'); reset ($fruits); array_walk ($fruits, 'test_alter', 'fruit'); echo "... and after:\n"; reset ($fruits); array_walk ($fruits, 'test_print');