What is PHP?
PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications. PHP stands for Hypertext Pre-processor, that earlier stood for Personal Home Pages.
PHP scripts can only be interpreted on a server that has PHP installed.
The client computers accessing the PHP scripts require a web browser only.
A PHP file contains PHP tags and ends with the extension “.php”.
What is a Scripting Language?
A script is a set of programming instructions that is interpreted at run time.
A scripting language is a language that interprets scripts at run time. Scripts are usually embedded into other software environments.
The purpose of the scripts is usually to enhance the performance or perform routine tasks for an application.
Programming Language Vs Scripting Language
Programming language | Scripting language |
Has all the features needed to develop complete applications. | Mostly used for routine tasks |
The code has to be compiled before it can be executed | The code is usually executed without compiling |
Does not need to be embedded into other languages | Is usually embedded into other software environments. |
What does PHP stand for?
PHP means – Personal Home Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML code, or it can be used in combination with various web template systems, web content management system and web frameworks.
Php Syntax
A PHP file can also contain tags such as HTML and client side scripts such as JavaScript.
- HTML is an added advantage when learning PHP Language. You can even learn PHP without knowing HTML but it’s recommended you at least know the basics of HTML.
- Database management systems DBMS for database powered applications.
- For more advanced topics such as interactive applications and web services, you will need JavaScript and XML.
Join ICT For Best Php Training Institute in Ahmedabad