Another really cool feature of php 7.4 shorthand functions is that callback functions can access variables outside of their scope without us having to implicitly telling those shorthand functions to use the variable. Further simplifying our code. PHP 7.4 shorthand functions folks ~ in my opinion php versions older than php 7.4 are officially considered old. Shorthand functions are so stinking sweet! php 7.4, 7.4, PHP short hand functions scope, php 7.4 scope, php 7.4 access variables outside of scope
PHP 7.4 ~ Lesson 9: Serialize & Unserialize Magic Methods Serialize is the getter and unserialize is the setter PHP 7.4 gives two new magic methods to help us serialize data from class instance state and unserialize data to set class instance state. Pretty nifty ~ I'm a fan :)
Let's Learn About php 7.4 and its new features!
Lesson 1: Class property typing (easy casting)
[ Ссылка ]
Lesson 2: Short hand functions or Arrow functions
[ Ссылка ]
Lesson 3: Short hand functions or arrow function, implicit scoping
[ Ссылка ]
Lesson 4: PHP Null coalescing assignment operator
[ Ссылка ]
Lesson 5: PHP spread operator (AKA unpacking arrays)
[ Ссылка ]
Lesson 6: PHP Rest Operator (Doesn't really exist)
[ Ссылка ]
Lesson 7: PHP Numeric literal operator
[ Ссылка ]
Lesson 8: PHP Strip Tags Accepts Array Example
[ Ссылка ]
Lesson 9: PHP Serialize & Unserialize Magic Methods
[ Ссылка ]
Clean Code Studio ~ Clean Code Clean Life ~ Simplify
[ Ссылка ]
Ещё видео!