What's new in PHP 8.0 | Learn how to use PHP 8.0's new features with real-world examples

preview_player
Показать описание
PHP 8.0 is a major update of the PHP language. As well as being faster, it includes many new code features. Learn what they are and how to use them in this video.

Code shown in the video:

PHP 8 new features official documentation:

New String Functions:

00:00 Introduction
00:27 Named Arguments
04:44 Union Types
07:38 Nullsafe Operator
09:49 Constructor Property Promotion
11:27 Match Expression
13:14 Attributes
18:04 Non-Capturing Catch
19:09 Throw Exception From New Places
19:55 New String Functions
21:17 Outro

#PHP #PHP8
Рекомендации по теме
Комментарии
Автор

What new feature of PHP 8.0 are you most looking forward to using?

dave-hollingworth
Автор

PHP: The most used and yet under-rated language. Great video Dave!

KeganVanSickle
Автор

Simple and precise, another great video

craigc
Автор

Great tutorial. I needed a quick tutorial on PHP 8.0 and this was straightforward.

successfulpodcast
Автор

everything is perfect from this video!!! thanks much!

imbakatawa
Автор

Broo i needed this update and examples 🥺🙏🏽

renandiaz
Автор

Thanks Dave! Love your course on Udemy 👍

nicholasgillespie
Автор

Many guys out there are struggling to explain this kind of topics... Dave has that unique ability to make these things easy for us to understand. Thank you Dave! P.S. You should definitely make a course on Laravel. It would be interesting to watch you explaining many of the advanced features that this framework offers!

konstantinosbatis
Автор

Thank you the time you put on this, really helped me

DLooperLive
Автор

Been a while, Dave, since your last Video. Missed your Teaching. Paced for understanding. Thanks.
Please could you do separate and better illustrated videos for "Nullables", and "Exceptions"?

NedumEze
Автор

Is YouTube's 2x speed faster than Udemy's?

On Udemy I have no problem following what you say at 2x speed. Here I struggle a bit. Almost like as if YouTube's 1.75x speed = Udemy's 2x speed.

Also, THANK YOU for your extremely helpful Courses. I learned so much. Even the easy stuff was news to me.
I'm at a level where I want to listen to all your words as they're generally helpful :D
Teach me Senpai :D

rasalas
Автор

I'm currently taking your Udemy course. You're using PHP 7 on that course. Are you working on an update or is it still okay to continue finishing the course even if it's PHP 7?

stranger
Автор

Hi Dave, I'm still working my way through your PHP course which is awesome! It's a great resource to have if I need a refresher on certain concepts.

I recently downloaded PHP 8 and installed composer and laravel because I'd like to familiarize myself a little with a php framework. However, when I create a new laravel project in my terminal I get this message:

Cannot use laravel/laravel's latest version v10.2.9 as it requires php ^8.1 which is not satisfied by your platform.
Installing laravel/laravel (v8.6.12)

So I can create a new project, but I don't know why I get this warning message since I installed the latest version of PHP. Do you have any idea why I might be getting this message?

Aaron_
Автор

Do you think they will make PHP multi thread or have Async like NODE

cd
Автор

Dave, are u working on a new oop framework project?

wqyjfsc
Автор

It seems that the constant FILTER_SANITIZE_STRING has been depreciated in PHP 8.1.0. This constant is usually used in server-side form validation. Any alternatives?

buck
Автор

The setup was simple enough but I'm encountering the following erroor - Uncaught Error: Call to undefined method Any suggestions?

mistaphi
Автор

ugh, i hate php 8, all the freedom I loved from php now is gone, every thing is so strict now!!

gipen
join shbcf.ru