Explain the syntax of the "foreach" loop with an example.

TechnicalSenior php developerPHP DeveloperMid PHP Developer