Introduction to PHP
In this tutorial, we will learn an introduction to PHP. PHP stands for Hypertext preprocessor and it is a well-known language to develop a web application. In a short definition, PHP is a server-side, open-source technology that is used to develop web applications ( Web applications help us to process data on the server-side and to generate dynamic web pages for clients ). PHP is developed by Rasmus Lerdorf in 1994.
Difference between Client-side and server-side scripting language: –
You have might hear many times client-side or server-side scripting languages. But do you know the difference between client-side and server-side scripting language?.
- The main difference between client-side and server-side scripting languages is that Server Side Scripting languages need a server to run mean we can not run this kind of language directly on the client machine. On the other side, client-side scripting can directly work on the client machine.
- Moreover, End-user can not see server-side code because the whole code only stays at the server. Server-side code will process user request and send only result back to the user. But end-user can see client-side scripting code. Because client-side scripting code works on the client machine.
We can not run code written in PHP directly on our PC. So it means we need a server to run code written in PHP. Do not worry I am not gonna tell you to buy a server. We have another option we can create a virtual server on a PC. There is a lot of free software in the market that allows us to create a virtual server on our PC.
Currently Supported Versions of PHP:
Version | Release Date | |
---|---|---|
7.3 | 6 Dec 2018 | |
7.4 | 28 Nov 2019 | |
8.0 | 26 Nov 2020 |
Spread the love:
Please share this page on social media with your friends..
![]() |
![]() |
![]() |