Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

PHP Variable Storage & Object Comparison – Zend Value (zval) – Full PHP 8 Tutorial

20.6K views on YouTube

In this lesson, you will learn what happens when two objects are compared for equality with either comparison operator (==) or identity operator (===). You will also get an introduction of PHP’s internals on what happens when variables are created, a brief introduction to zval (zend value) container, and so on.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: https://www.patreon.com/programwithgio
THANK YOU!

LESSON 2.16
Course Outline – https://github.com/ggelashvili/learnphptherightway-outline
Course Playlist – https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-

CHAPTERS
00:00 – Object Comparison
04:01 – How variables & objects are stored in PHP & what is zval (zend value) data structure
07:21 – Circular relations & nested object comparison