PHP 7 OOP: Objects and scope | OOP PHP 7 Tutorial No. 2

preview_player
Показать описание
What properties can I access in PHP object-oriented programming? What is private, public and protected? Here I teach you some things about visibility and classes and objects. 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.
Рекомендации по теме
Комментарии
Автор

this is my first comment ever on youtube .. i just want to say thanks for this tutorial ..there is like 1000 tutorial on youtube but this one its somthing special //thanks bro

mr.marshmello
Автор

It's a pity this course is unpopular. You helped me out ^, ^

larax
Автор

4:15 the acceleration method has already an "echo", so why you had to "echo" again? I don't understand (line 17)

zerefdev
Автор

hi, i have this error when i try to do what are you already done!
( ! ) Notice: Undefined variable: color in C:\wamp64\www\hello.php on line 17
Call Stack
# Time Memory Function Location
1 0.0004 405360 {main}( ) ...\hello.php:0

alaaanbousheh
Автор

Sorry to tell it friend, but I don't like such tutorials where the person who teach others don't follow the basic naming conventions!

klimopetkov