Introduction to PHP



PHP stands for Hypertext Pre-Processor which is used in web technology for making a web application. After first release in 1995 by Rasmus Lerdorf PHP becomes popular among web developers around the globe. This is the more simple and easy web programming language for making a modern web application. Nowadays, a lot of websites all over the world are using PHP for making web apps. More updates, communities, and participations have made this language more efficient and user-friendly. PHP is a light language. And for this reason, it runs from server efficiently. Another reason is, server cost for hosting PHP application is cheaper than others such as asp.net or Java. Now stable PHP version is 7.3.8. Before this 5.6 was used by developers for a long time...

PHP is fully free and open-source language, open for all. Anyone can learn and make a web application, API, request handlers using PHP language. Anyone who wants to start his/her as a career in the programming world can easily choose PHP as their first language. Though a misconception is available regarding PHP "PHP is losing market and it will not get market value in future". According to the market, it can be said that PHP will continue its place in the list of choice. Nodejs and other backend languages are trending, it's true. But PHP is still in the position. Several modern frameworks such as Laravel, Codeigniter, Symphony is built using PHP. For this reason, PHP has got an extra identity and value in the programming world. Use of frameworks in making web application has made a task so much easy and development speed has been increased. Security and Kiss(Keep it Simple, Stupid) principles are strictly followed in making frameworks of PHP.

Anyone who has the basic knowledge of C or relative programming language can start learning PHP. Sometimes it's not mandatory as well. This PHP tutorial will try to cover all sorts of topics related to PHP, such as string, array, function, method, class, objects, interface and so on. For learning and describing web have made two segments for giving a better idea of PHP. In the first segments, syntax, string, functions will be covered. Rest of topics will be covered in the next segment.