PHP for Keyword

PHP Keywords : Print even numbers less than 10

Definition and Usage

The for keyword is used to create a for loop, which loops through a block of code a specified number of times.

Related Pages

Read more about for loops in our PHP for Loop Tutorial.

❮ PHP Keywords