PHP 7.4 ~ Declare (Class Property Strict Type) & Serialization

Опубликовано: 08 Декабрь 2019
на канале: Zak H.
953
25

Thanks to a reddit post I made about this series (  / php_74_in_action_php_9_series_youtube_tuto...  )

I was made aware of two corrections I need rectification from lesson 1 PHP 7.4 Class Property Types and Lesson 9: PHP 7.4 Serialize and Unserialize Magic Methods. Let's dive in and learn about PHP 7.4's declare(strict_types) global function for setting the class property types strict mode and the actual purpose of PHP 7.4's __serialize and __unserialize magic methods.