PHP Source Code

Hello world - Starting to learn PHP program

This is a very simple PHP program for beginners that demonstrates printing a line of text on the browser.

Almost everyone starts learning a new language by writing a Hello World program.
It's one of the simplest program that demonstrates the language syntax and can be easily understood by a beginner.

Addition of two numbers

This programs takes two number and display their sum.

Calculating factorial of number in given array PHP

This programs takes array of numbers and output factorial for each of the number in array.