PHP 7 OOP: By value and by reference | clone + __toString | OOP PHP 7 Tutorial No. 4

preview_player
Показать описание
What is the difference between copying by value and by reference in PHP 7? I will show you with the example of object cloning. Also we will talk about the __toString magic method.

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.
Рекомендации по теме
Комментарии
Автор

I appreciate you leaving your mistakes in the video. It offers insight into debugging and helps strengthen my overall understanding.

danokenka
Автор

Can you do a comprehensive tutorial on unit testing with php unit? This tutorial is amazing btw

navjotsingh
Автор

i was the class is that so funny well sir continue that the best php cours i ever had

hannibalbarca
Автор

8:30 Why would one use that? I feel like it's useless since you already have a variable pointing to that specific memory space

idontwantmynameinhere
welcome to shbcf.ru