Why you should use PHP

preview_player
Показать описание
Let's take a quick run through modern PHP.

Timestamps

00:00 Intro
00:24 Typed properties
00:25 Readonly properties and readonly classes
00:27 Promoted properties
00:28 Null coalescing
00:29 Nullsafe operator
00:30 Short arrow functions
00:32 Match operator
00:34 Named arguments
00:35 First-class callables
00:36 Variadic functions
00:38 Array spreading
00:39 Array unpacking
00:40 Performance
00:48 Fibers
00:49 FFI
00:53 Generators
00:57 Type system
01:00 Type variance
01:01 Return types
01:02 Scalar and nullable types
01:03 Built-in types
01:08 Union types
01:09 Intersection types
01:10 Disjunctive normal form types
01:12 Typed properties
01:14 Static analysers
01:22 Generics
01:23 New in initializers
01:25 Anonymous classes
01:27 Spaceship operator
01:29 Trailing commas
01:30 Better exception handling
01:35 Hashing and randomizer libraries
01:38 Redacted parameters
01:39 WeakMap
01:40 Traits
01:41 Attributes
01:43 Enums
01:53 Frameworks
02:20 CMS
02:23 Templating engines
02:25 QA tools
02:36 Packagist
02:40 PHP Foundation

Links shown in this video:

Timestamps:

00:00 Intro
00:19 Syntax
01:46 The Community
Рекомендации по теме
Комментарии
Автор

Leave a 👍like if you love PHP! What's your favorite feature? Let me know! 👇

phpannotated
Автор

Started as a 12 year old scriptkiddie in PHP, now a $100k free lancer at 23. PHP is just simply freakin' awesome!

(Great work on the new PHPStorm 3.3 btw, it's absolutely amazing!)

epicgameryt
Автор

Been writing PHP for over 20 years. It just keeps getting better.

nfinzer
Автор

PHP is one of the best choices to start any web development project.

Chemaclass
Автор

Null safe operator is the best thing that ever happened

wildfireDZ
Автор

Php is evolving greatly. Love the updates and performance has also increased.

rahulxcr
Автор

PHP Ecosystem keeps growing. Now we have NumPower.

NumPower library was created to provide the foundation for efficient scientific computing in PHP, as well as leverage the machine learning tools and libraries that already exist and can benefit from it.

This C extension developed for PHP can be used to considerably speed up mathematical operations on large datasets and facilitate the manipulation, creation and operation of N-dimensional tensors. The area of ​​image processing and computer vision will also be able to benefit from this library.

Some features of NumPower are:

* GPU and CPU compute support

* Dozens of different operations for manipulation, arithmetic, linear algebra, statistics and etc.

* Single precision float points (float32) for improved memory usage

* Custom CUDA kernels for almost all operations

* AVX2 support when available on hardware

* Support for GD images in RGB format for easy image manipulation.

ojsojs
Автор

Thanks for this video! Much appreciated for a quick reference.

mikedub
Автор

I am now using PHP since 17 years and it never has let me down. It was always quite easy to update my code-base (3.000+ classes) to a new PHP version. My code-base is nowadays relatively type-safe and uses most of the new features of the language. I also like that the syntax is close to C. I dislike languages without brackets for control-structures like Python or Ruby. If you have learned PHP it is also easy to use Dart/Flutter to develop mobile apps. One thing is clear, PHP is here to stay. The only thing which concerns me is the slow visible progress of development since PHP 8.2. I hope this will speed-up soon.

HaraldEngels
Автор

THank you for this video, I'm coming back to PHP for a few things and this video really helps.

enkiimuto
Автор

Amazing ❤. I've been working with PHP since 2013, and I'm the one who always advocated about PHP. Today also I really love to spread awareness about PHP and it's qualities. This will surely help me and all this who have very little knowledge on what PHP is capable of. It will help me continue spreading awareness.

jaydeepgoswami
Автор

Unrecognisable is right! I do a lot of new development, mostly in Laravel. But I also support a set of old-school - yet to be redeveloped - sites originating from 15+ years ago. Every page is a php file, with html, php, javascript, and css in the same page. Very little, if anything is shared and the duplication is massive. Some pages use bootstrap, some use jquery, some use PDO and others MySQLi and there are some that use an even older DB connection technology. I've yet to find a Class anywhere. Nothing can be tested without going to the actual page... and all code changes are made directly on the production server! It's like being in two different universes!

martinh
Автор

thank you for making this video. I have loved working with php for years, it has come along way. The language is so much more expressive than it once was. 🤘😎🤘

sevidmusic
Автор

Informative video, thank u so much. please continue this kind of video.

DevAmirull
Автор

I learned so much making my own "framework" when i was little, it took me 4 years to finish it so at the end i was a teenager, the problem however is that i was a kid, didn't know how to market it, or anything related to hosting were pain in the butt. Its archived now on my github page and after that whole situation i felt like php lost its charm and i started doing backend with node, and eventually was a part of the js community. and to be happy with it is the best peace knowing you still made a masterpiece, no one HAS to know

dundavey
Автор

That was fast! I almost couldn't keep up. In fact, I have to watch it 6 more times 😅

AfmpJR
Автор

Never thought I’d learn so much in a 3min video 😅

patricknelson
Автор

You just made me work out how many years I had been playing with PHP. 25 years. Jeez. 1998/99 I started playing with PHP3. Extremely fond memories of those days. But you just made me feel old 🤣

PHP really has come on a long, long way since then.

gromett
Автор

Awesome. I use programming languages like JavaScript(and TypeScript), Python, C#.. But PHP has something I really like about, even t hough PHP is very critisized among lots of developers and sometimes I feel uncomfortable talking about it...

goktugerol
Автор

I like the method return types and ?? operator 😋😋

dfordemo