PHP 7 OOP: Introduction and create your first class | OOP PHP 7 Tutorial No. 1
This is the introduction to object-oriented programming in PHP where you will create your first class and understand what this is all about. Enjoy.
PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994,
PHP originally stood for Personal Home Page, but it now stands for the PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML, or it can be used in combination with various web template systems ,web content management systems and web frameworks.
What is PHP?
PHP is an acronym for “PHP: Hypertext Preprocessor”
PHP is a widely-used, open source scripting language
PHP scripts are executed on the server
PHP is free to download and use
PHP is an amazing and popular language!
It is powerful enough to be at the core of the biggest blogging system on the web (WordPress)!
It is deep enough to run the largest social network (Facebook)!
It is also easy enough to be a beginner’s first server side language!
Common uses of PHP
PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them.
PHP can handle forms, i.e. gather data from files, save data to a file, through email you can send data, return data to the user.
You add, delete, modify elements within your database through PHP.
Access cookies variables and set cookies.
Using PHP, you can restrict users to access some pages of your website.
It can encrypt data.
Source: https://www.tutorialspoint.com/php/php_introduction.htm
source