PHP endfor Keyword

PHP Keywords : Close a for loop block

Definition and Usage

The endfor keyword is used to close the code block of a for loop which was started using the for(...): syntax.

Related Pages

The for keyword.

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

❮ PHP Keywords