Frage im Vorstellungsgespräch bei Neural IT

An array is given like $arr=array(1,2,3,4,5) and we have to echo a string as 1@2@3@4@5