What's new in PHP8.1??
In this video I cover most of the changes made in PHP8.1.
Support me by subscribing - bit.ly/2xTQOI0
Source Code:
github.com/thecodeholic/php8....
What's new in PHP8.1:
www.php.net/releases/8.1/en.php
stitcher.io/blog/new-in-php-81
Migrating from PHP8.0 to PHP8.1:
www.php.net/manual/en/migrati...
PHPStorm early access:
blog.jetbrains.com/phpstorm/2...
Table of contents
-------------------------------
00:00 - Intro
00:59 - Project setup
01:57 - Enums
11:10 - Array unpacking with string values
13:28 - Readonly properties
17:33 - Intersection types
19:49 - First class callable syntax
21:16 - array_is_list function
22:41 - Final class constants
24:00 - new in initializers
25:36 - Names arguments after unpacking
26:55 - Octal literal notation
28:15 - Migrating from php8.0 to php8.1
29:47 - Fibers
30:33 - Finish
Follow me on social media:
/ thecodeholic
/ thecodeholic
/ thecodeholic
Check my Github:
github.com/thecodeholic
Пікірлер: 40
This is best video for getting up to speed when coming back to PHP after some (like 10 years) break. Other PHP tutorials I found on yt are either framework specific or explaining what is boolean..
I'm glad to see you back
Great effort🎩
Awesome 👍
@gofuroov
2 жыл бұрын
Make video about Fibers
Would be nice to see more on Fibers.
Thanks for all tutarials .its very very nice
@TheCodeholic
2 жыл бұрын
Thank you
sir i like your videos, you are my best teacher.
@TheCodeholic
2 жыл бұрын
Thanks a lot my friend
Thanks for your great explanation
Thanks for the overview!
@TheCodeholic
2 жыл бұрын
Welcome
@AbhinavKulshreshtha
2 жыл бұрын
@@TheCodeholic Can you share your multiple php version setup? Is it docker? I tried running docker but I can only run one php server properly at a time. If I try to run multiple php container, I start getting permission denied issues.
Thank you for the video
@TheCodeholic
2 жыл бұрын
Thanks for watching!
Thank you.
Thanks
@TheCodeholic
2 жыл бұрын
Welcome
Zura champ! Can you tell me, when Yii3 will be released? Any updates.
Great work zura if I want to be a Good programmer do any idea with php and can will be problem solver what's can I do I'm studying cs50x after this should start php and must learn css I don't like css
Dear Zura, I want to create custom reports and want to export them in excel and pdf. Also I want to log all transactions being executed in the system for backup and restoration purposes. I am using yii2. How to achieve this? Can you help?
Please what PhpStorm color scheme are you using? It looks really nice.
@TheCodeholic
2 жыл бұрын
It is "Material Theme UI" plugin "Arc Dark (Material)" Theme
Dear Zura, Thanks a lot for the Tutorial. May I ask, 'what did you do get packages like PHPMYADMIN to work when you did the upgrades'? Each time I attempted to upgrade, I lose access and connectivity to Mysql databases with tons of error messages indicating changes in PHPMyAdmin code base! Consequently, I stopped upgrading waiting for when all related packages are also updated.
@devbyjesus4176
Жыл бұрын
you have to install as well the corresponding package to communicate with the mysql. if you use php8.1 for example the pilot php8.1-mysql has to be present as well.
Hello, how can I understand that I have learned php really well, I always feel incomplete on this subject. Do you have any suggestions on this subject? Thanks
@bernardchisumo4054
Жыл бұрын
Keep practicing
Did they remove the elephant logo?
i wish we would get type aliases
JIT please explain
What's the difference between readonly and const? Anyone know?
@Vlfkfnejisjejrjtjrie
11 ай бұрын
Read-only is with the intent purpose of creating a non-mutable object. DTO (data transfer object pattern) is one example of the use.
and generics
PHP is dropping
@melihbadem7643
2 жыл бұрын
PHP developers do not allow this. do not worry.
@ojsojs6004
2 жыл бұрын
PHP is still very popular and is getting better and better. 79 percent of the web still uses PHP.
@deeman2033
2 жыл бұрын
Php forever ! :D