Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

what
php

What is PHP?

Educative Answers Team

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

PHP (previously referred to as Personal Home Page) is currently known as the Hypertext Preprocessor. It is a server-side, scripting language that is used for developing static and dynamic websites. PHP can also develop web applications.

Syntax

<?php
echo "Hi, I'm a PHP script!";
?>

Advantages of using PHP

  • PHP uses tags that make it similar to that of HTML and client-side scripts like​ JavaScript.

  • PHP requires no prior knowledge of HTML.

  • PHP is an open-source language and is free of cost.

  • PHP has a large community document.

  • PHP is regularly updated according to the recent technology trends.

  • Since PHP is a server-side scripting language, it is executed on the server; hence, ​client machines do not need to have PHP installed.

How PHP works

The following illustration explains how a PHP cycle works:

svg viewer

RELATED TAGS

what
php
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring