PHP could be a server-aspect scripting language. that’s wont to develop Static websites or Dynamic websites or network applications. PHP stands for machine-readable text Pre-processor, which earlier stood for private Home Pages.
PHP scripts will solely be taken on a server that has PHP put in.
The consumer computers accessing the PHP scripts need an online browser solely.
A PHP file contains PHP tags and ends with the extension “.php”.
What is a Scripting Language?
A script could be a set of programming directions that are taken at runtime.
A scripting language could be a language that interprets scripts at runtime. Scripts area units are typically embedded into different software package environments.
The purpose of the scripts is typically to reinforce the performance or perform routine tasks for associate degree applications.
The server-aspect scripts area unit is taken on the server whereas the consumer-aspect scripts area unit is taken by the consumer application.
PHP could be a server-aspect script that’s taken on the server whereas JavaScript is an associate degree example of a consumer aspect script that’s taken by the consumer browser. each PHP and JavaScript will be embedded into hypertext markup language pages.
Programming Language Vs Scripting Language
Programming language Scripting language
Have all the options required to develop complete applications? largely used for routine tasks
The code must be compiled before it will be dead The code is typically executed while not aggregation
Does not get to be embedded into different languages Is typically embedded into different software package environments.
What will PHP stand for?
PHP suggests that – Personal Home Page, however, it currently stands for the algorithmic backronym PHP: machine-readable text Preprocessor.
PHP code could also be embedded into hypertext markup language code, or it will be employed in combination with numerous net templet systems, online page management systems, and new frameworks.
Php Syntax
What is PHP? Write your 1st PHP Program
A PHP file also can contain tags like hypertext markup language and consumer-aspect scripts like JavaScript.
HTML is an extra advantage once learning PHP Language. you’ll even learn PHP while not recognizing hypertext markup language however it’s counseled you a minimum of know the fundamentals of hypertext markup language.
Database management systems DBMS for info battery-powered applications.
For a lot of advanced topics like interactive applications and net services, you’ll like JavaScript and XML.
Why use PHP?
You have detected of variety of programming languages out there; you will be inquisitive why we might wish to use PHP as our poison for net programming. Below area unit a number of the compelling reasons.
PHP is open supply and free.
Short learning curve compared to different languages like JSP, ASP, etc.
Large community document
Most net hosting servers support PHP by default in contrast to different languages like ASP that require IIS. This makes PHP a value-effective alternative.
PHP is regular updated to stay abreast with the newest technology trends.
Another profit that you simply get with PHP is that it’s a server-aspect scripting language; this implies {you solely|you simply|you merely} got to install it on the server and consumer computers requesting for resources from the server don’t get to have PHP installed; only an online browser would be enough.
PHP has engineered support for operating hand in hand with MySQL; this doesn’t mean you can’t use PHP with different direction systems. you’ll still use PHP with
Postgres
Oracle
MS SQL Server
ODBC etc.
PHP is cross-platform; this implies you’ll deploy your application on a variety of various operative systems like Windows, Linux, Mac OS, etc.
What is PHP used for & Market share?
In terms of market share, there area unit over twenty million websites and application on the net developed victimization PHP scripting language.
Summary
PHP stands for machine-readable text pre-processor
PHP could be a server-aspect scripting language. this implies that it’s dead on the server. The consumer applications don’t get to have PHP put in.
PHP files area unit saved with the “.php” file extension, and therefore the PHP development code is fencelike in tags.
PHP is open supply and cross-platform