Fri. Dec 6th, 2019

Host your Website

Read and learn

FatCow Web Hosting $1.00/mo* Trust your web hosting to the #1 web host provider, GoDaddy!

PHP 7.4 ~ Lesson 6: PHP Rest Operator (Doesn't exist)

1 min read

PHP 7.4 ~ PHP Rest Operator (Doesn’t exist) Sadly due to technical reasons, the rest operator is not available to us in PHP 7.4 due to technical reasons stated in PHP’s 7.4 release docs. To those developers and engineers not familiar with javascript ~ feel free to skip this video, for those familiar with javascript and tinkering with PHPs new kinda “spread operator” you might want to review this just as a heads up that the rest operator does NOT exist as of PHP 7.4

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

1 thought on “PHP 7.4 ~ Lesson 6: PHP Rest Operator (Doesn't exist)

Comments are closed.

Copyright © All rights reserved. | Newsphere by AF themes.