5 Reasons to Use PHP 8: New Syntax Features



5 Reasons to Use PHP 8: New Syntax Features

5 Reasons to Use PHP 8: New Syntax Features

Are you still on PHP 7.x? Let me convince you to upgrade, maybe you will like those syntax “treats” from PHP 8.0.

PHP Version Statistics: https://packagist.org/php-statistics
PHP Official Supported versions: https://www.php.net/supported-versions.php

PHP 8 Examples from the video:
– Match example: https://twitter.com/freekmurze/status/1451905555182850048
– Null safe operator: https://twitter.com/freekmurze/status/1452598536101580817
– Null safe operator example 2: https://php.watch/versions/8.0/null-safe-operator
– Named parameters: https://twitter.com/freekmurze/status/1450781816957374468
– Constructor property promotion: https://twitter.com/freekmurze/status/1334077673740656651
– Union types: https://stitcher.io/blog/new-in-php-8#union-types-rfc

What’s New in Laravel 9: A Deep Dive Into the Upcoming Major Release https://kinsta.com/blog/laravel-9/

– – – – –
Support the channel by checking out our products:
– Enroll in my Laravel courses: https://laraveldaily.teachable.com
– Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
– Purchase my Livewire Kit: https://livewirekit.com
– View Laravel Code Examples: https://laravelexamples.com
– Subscribe to my weekly newsletter: http://bit.ly/laravel-newsletter

Comments are closed.