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 used to develop web applications ( Web applications help us process data on the server side and generate dynamic web pages for clients ). PHP is developed by Rasmus Lerdorf in 1994.
Difference between Client-side and server-side scripting language: –
You might have heard many times client-side or server-side scripting languages. But do you know the difference between client-side and server-side scripting languages?
- The main difference between client-side and server-side scripting languages is that Server Side Scripting languages need a server to run meaning we can not run this kind of language directly on the client machine. On the other side, client-side scripting can work on the client machine.
- Moreover, End-user can not see server-side code because the whole code only stays on the server. Server-side code will process user requests and send only result back to the user. But the 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||Supported until|
|7.0||3 December 2015||10 January 2019|
|7.1||1 December 2016||1 December 2019|
|7.2||30 November 2017||30 November 2020|
|7.3||6 December 2018||6 December 2021|
|7.4||28 November 2019||28 November 2022|
|8.0||26 November 2020||26 November 2023|
|8.1||25 November 2021||25 November 2024|
|8.2||8 December 2022||8 December 2025|
|8.3||23 November 2023||23 November 2026|
Spread the love:
Please share this page on social media with your friends..