Home / PHP

PHP

PHP is a server side scripting language especially suitable for development of complex, small or big web applications. Most of dynamic web sites we visit today are working on PHP. More than 250 million web sites online today use PHP. It is interpreted language. Development began in 1994. Rasmus Lerdorf used it to run his own personal website with his resume. He also tracked his web traffic and connected the web site to the database. Later Zeev Suraski and Andi Gutmans rewrote it and it became known as PHP 3 (PHP: Hypertext Preprocessor).

Hello World Example

<!DOCTYPE html> <meta charset="utf-8"> <title>PHP Test</title> <?php echo Hello World; ?>

The above example is used in a web environment. PHP can work standalone as well and the code becomes shorter and self-explanatory :

<?= Hello world;

Advantages of PHP

Disadvantages of PHP