PHP doesn't suck (anymore)

PHP doesn't suck (anymore)

214.193 Lượt nghe
PHP doesn't suck (anymore)
PHP in 2023 is very different than PHP in 2012. Let's run through some of the changes! Looking for PHP jobs or looking to hire PHP devs? Check out Larajobs: https://larajobs.com/?partner=108 Follow me: Twitter: https://twitter.com/aarondfrancis LinkedIn: https://www.linkedin.com/in/aarondfrancis Website: https://aaronfrancis.com - find articles, podcasts, courses, and more. Chapters: 00:00 Intro 01:16 Traits 01:34 Short array syntax 01:47 Array destructuring 02:05 Variadic functions 02:12 Spread and splat 02:34 Generators 02:49 Anonymous classes 03:06 Trailing commas in function calls 03:26 Arrow functions 03:48 Null coalescing and null coalescing assignment 04:11 Null chaining operator 04:36 Named arguments 04:47 Attributes (annotations) 05:05 Non-capturing catch 05:28 Sensitive parameter attribute 05:43 Match statements 06:12 Weak maps 06:28 Enums 07:04 Typehints 07:19 Types, types, and more types 09:27 Readonly properties and classes 09:47 Addressing the speed of PHP