Write a factorial program using for loop in php

Description:

Write a program to calculate factorial of a number using for loop in php.

Output:

  The factorial of 3 is 6