<?php
2 => "Арбуз",
3 => "Батон",
4 => "Стекломой");
foreach ($arr as $element)
{
if () {
echo $element . "\n";
}
}
/*
А
Абу
Арбуз
Б
Батон
С
Стекломой
*/
?>
PD9waHAKICAkYXJyID0gYXJyYXkoMSA9PiAi0JDQsdGDIiwKICAgICAgICAgICAgICAgMiA9PiAi0JDRgNCx0YPQtyIsCiAgICAgICAgICAgICAgIDMgPT4gItCR0LDRgtC+0L0iLAogICAgICAgICAgICAgICA0ID0+ICLQodGC0LXQutC70L7QvNC+0LkiKTsKICAgICAgICAgICAKZm9yZWFjaCAoJGFyciBhcyAkZWxlbWVudCkgCnsKCWlmICgpIHsKCWVjaG8gICRlbGVtZW50IC4gIlxuIjsKCX0KfQoKcHJpbnRfcigkYXJyKTsKICAKICAKICAKLyoK0JAK0JDQsdGDCtCQ0YDQsdGD0LcKCtCRCtCR0LDRgtC+0L0KCtChCtCh0YLQtdC60LvQvtC80L7QuQoKKi8KPz4=