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

Veröffentlicht am: 01 Juni 2021
auf dem Kanal: Program With Gio
24,078
1.1k

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

LESSON 2.19
Course Outline - https://github.com/ggelashvili/learnp...
Course Playlist -    • Learn PHP The Right Way - Full PHP Tutoria...  

RESOURCES
Lesson 2.16 Comparing Objects -    • PHP Variable Storage & Object Comparison -...  
Lesson 2.18 Object Cloning -    • PHP - Object Cloning & Clone Magic Method ...  
Object serialization RFC - https://wiki.php.net/rfc/custom_objec...
Deprecating serializable interface RFC - https://wiki.php.net/rfc/phase_out_se...

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


Auf dieser Seite können Sie das Online-Video PHP Serialize Objects & Serialize Magic Methods - Full PHP 8 Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Program With Gio 01 Juni 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 24,078 Mal angesehen und es wurde von 1.1 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!