Sat. Dec 7th, 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 1: PHP Typed Class Properties

1 min read



PHP 7.4 ~ Typed Class Properties (Automatic Casting) PHP 7.4 Typed Class Properties Help To make php a little bit stricter, but more so than that class types help to automatically cast class properties to their given types.

Let’s Learn About php 7.4 and its new features!

PHP Types Properties: https://www.php.net/manual/en/migration74.new-features.php#migration74.new-features.core.typed-properties

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
https://cleancode.studio

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