For loop with Index Access:
Blessed are the poor in spirit, for theirs is the kingdom of heaven.
Blessed are they who mourn, for they shall be comforted.
Blessed are the meek, for they shall inherit the earth.
Blessed are they who hunger and thirst for righteousness, for they shall be satisfied.
Blessed are the merciful, for they shall obtain mercy.
Blessed are the pure of heart, for they shall see God.
Blessed are the peacemakers, for they shall be called children of God.
Blessed are they who are persecuted for the sake of righteousness, for theirs is the kingdom of heaven.

Foreach loop over Beatitudes:
Blessed are the poor in spirit, for theirs is the kingdom of heaven.
Blessed are they who mourn, for they shall be comforted.
Blessed are the meek, for they shall inherit the earth.
Blessed are they who hunger and thirst for righteousness, for they shall be satisfied.
Blessed are the merciful, for they shall obtain mercy.
Blessed are the pure of heart, for they shall see God.
Blessed are the peacemakers, for they shall be called children of God.
Blessed are they who are persecuted for the sake of righteousness, for theirs is the kingdom of heaven.

Foreach loop with Key=>Value Pairs:
0 => Blessed are the poor in spirit, for theirs is the kingdom of heaven.
1 => Blessed are they who mourn, for they shall be comforted.
2 => Blessed are the meek, for they shall inherit the earth.
3 => Blessed are they who hunger and thirst for righteousness, for they shall be satisfied.
4 => Blessed are the merciful, for they shall obtain mercy.
5 => Blessed are the pure of heart, for they shall see God.
6 => Blessed are the peacemakers, for they shall be called children of God.
7 => Blessed are they who are persecuted for the sake of righteousness, for theirs is the kingdom of heaven.

Do-while loop using current() and next():
Blessed are the poor in spirit, for theirs is the kingdom of heaven.
Blessed are they who mourn, for they shall be comforted.
Blessed are the meek, for they shall inherit the earth.
Blessed are they who hunger and thirst for righteousness, for they shall be satisfied.
Blessed are the merciful, for they shall obtain mercy.
Blessed are the pure of heart, for they shall see God.
Blessed are the peacemakers, for they shall be called children of God.
Blessed are they who are persecuted for the sake of righteousness, for theirs is the kingdom of heaven.