PHP Serialize Objects & Serialize Magic Methods - Full PHP 8 Tutorial @ProgramWithGio
PHP Serialize Objects & Serialize Magic Methods - Full PHP 8 Tutorial  @ProgramWithGio
Uploaded June 2021 | Updated November 2026, 3 hours ago
In this lesson, you will learn what serialization is, how to serialize different types of values including objects, how to unserialize them & how to work with the given magic methods related to serialization. Covers __sleep & __wakeup as well as __serialize & __unserialize magic methods.

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: patreon.com/programwithgio
THANK YOU!

LESSON 2.19
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-

RESOURCES
Lesson 2.16 Comparing Objects - youtu.be/zCGmZb3z-r8
Lesson 2.18 Object Cloning - youtu.be/vLmIoy6Bnog
Object serialization RFC - wiki.php.net/rfc/custom_object_serialization
Deprecating serializable interface RFC - wiki.php.net/rfc/phase_out_serializable

CHAPTERS
00:00 - Serialization
01:12 - Serializing objects
04:07 - Serializing boolean false & return false on failed unserialization
05:11 - Magic methods intro & Serializable interface
06:21 - __sleep & __wakeup magic methods
07:44 - __serialize & __unserialize magic methods
PHP Serialize Objects & Serialize Magic Methods - Full PHP 8 TutorialPHP Data Types - Typecasting Overview & How It Works - Full PHP 8 TutorialDataTables & Pagination - Build Expense Tracker App With PHP 8Transactions CRUD Exercise Overview - Build Expense Tracker App With PHP 8How To Install PHP & What Are Web Servers - PHP 8 TutorialUnderstanding Laravel’s Directory Structure | Learn Laravel The Right WayHow To Work With PHPs Configuration File - PHP.INI - Full PHP 8 TutorialImplement Two-Factor Authentication Via Email - Build Expense Tracker App With PHP 8How To Securely Implement Sorting & Filtering - Build Expense Tracker App With PHP 8Profiling for N+1 Queries - Build Expense Tracker App With PHP 8PHP - Inheritance Explained - Is Inheritance Good? -  Full PHP 8 TutorialBuilding Small Part Of The App With Procedural PHP - Full PHP 8 Tutorial
Program With Gio |

PHP Serialize Objects & Serialize Magic Methods - Full PHP 8 Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER