What is PHP? Introduction to PHP

  • Post category:Blog / PHP

PHP(Hypertext Preprocessor) is wildly used open-source(Free) server side scripting language, that used to making interactive and dynamic Web pages.

PHP is alternative to competitors scripting language like Microsoft’s ASP.

PHP scripts can only be run(interpreted) on Apache server that has PHP installed in.

Initially PHP stands for PERSONAL HOME PAGE. PHP code can be embedded into html, or it can be used in combination with other web template system

Table of Contents

What is Serve-Side Scripting Language?

A server-side scripting language interprets scripts at runtime on server. Scripts are usually embedded server and display data as pure html. Web Server are usually used to run dynamic pages. Server-side Scripting language can also access the file system exist at web server. Primary advantage of server-side scripting language is the ability of its to develop highly customizable, data secure and easy to access application

Benefits of PHP

  • These frameworks and CMS make web development for developer so smooth, faster, well managed and Secure.
  • PHP can be run on various platform like (Windows, Unix, Linux, macOS etc.)
  • Also, PHP compatible with almost all the server available today, but we usually used Apache
  • PHP also support range of databases
  • PHP learning curve are short compared to other language
  • PHP also have large community
  • Other benefits of PHP are that it has multiple Framework and CMS like Laravel, CodeIgniter, Cake PHP, WordPress, Magento and many more….

PHP Market Share in 2022

Most used Server-side Scripting Language in 2022 is PHP, Isn’t it great!! That PHP holds 79% market share of total website. And that makes PHP most popular programming Language in the World.

There are lots who say PHP is dead but the number saying it all. One more thing that makes PHP most reliable is the frameworks and CMS of PHP like Laravel, CodeIgniter, WordPress, Magento.

If you check Only WordPress share 40% of total website and those are huge number.

Syntax of PHP

PHP file can be created without PHP, and also with HTML. You can write PHP code within HTML or even you can write html within PHP.

Here is simple syntax of PHP given…

<?php 
	echo "Welcome to e-Academyy!!!"
?>