A simple, beginner-level application built in PHP.
All the countries in the world have a rectangular flag except Nepal which has a triangular flag. In this program, we use For loop in PHP to construct the flags by printing stars (*) and line breaks on the screen.