Skip to content
0:00 / 0:00

#php#modern-php#typehints

PHP doesn't suck (anymore)

Aaron Francis

58K subscribers • 1 video on Hallway

YouTube
  • Recommended by 3 people: 3 on Hacker News.
  • Presented by Aaron Francis
  • An opinion. It argues one side of a question engineers disagree on.

Beginner. No background in the topic needed.

223K views3 years ago3 recommendations

Programming languagesWeb developmentPHP

Aaron Francis reviews the major features added to PHP between 2012 and 2023, demonstrating how the language has modernized.

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: larajobs.com/?partner=108 Follow me: Twitter: twitter.com/aarondfrancis LinkedIn: linkedin.com/in/aarondfrancis Website: aaronfrancis.com - find articles, podcasts, courses, and more. Chapters: Intro Traits Short array syntax Array destructuring Variadic functions Spread and splat Generators Anonymous classes Trailing commas in function calls Arrow functions Null coalescing and null coalescing assignment Null chaining operator Named arguments Attributes (annotations) Non-capturing catch Sensitive parameter attribute Match statements Weak maps Enums Typehints Types, types, and more types Readonly properties and classes Addressing the speed of PHP

Why it's here

3 people recommend this

What people say. Recommended as a great summary of how much PHP has evolved and improved over the last decade.

aarondfon Hacker News • Recommends

On “PHP-Tokio – Use any async Rust library from PHP”

I've been working with PHP since the early 2000s, and it has undergone massive changes. I made a video recently called "PHP doesn't suck (anymore)"0 to try to cover some of the changes from 2012 to now. If you read through the comments you see a lot of people surprised at how much the language has evolved. And a lot of people saying "PHP sucks lol," but it is YouTube afterall. 0 link to this video

geek_aton Hacker News • Recommends

On “An Internet of PHP”

Many people who learned to code with PHP in the 2000s are picking it up again as first choice for web projects since they improved it so much and websites can be updated and running with a simple `git pull` without restarting any services. I saw a video not long ago that made me have hope for the future of PHP again -> link to this video

xwowsersxon Hacker News • Recommends

On “Omg.lol: An Oasis on the Internet”

Not related to security, but I was quite surprised to see how far PHP has come since I used it many years ago: PHP doesn't suck (anymore)( link to this video )

gjsman-1000on Hacker News • Mentions

On “Rails Is Good Enough”

…ere’s also, of course, C# and Java, but come now, it’s 2024, you’re probably coupling them to a JavaScript monster anyway. TL;DR: Every large project becomes a mess. Pick your poison. One is hardly worse than another’s. Best to have the devil you know. Even if you do things perfectly with a FAANG level budget, AWS and Azure still have outages. 0 link to this video…

gjsman-1000on Hacker News • Mentions

On “React on the server is not PHP”

If you need to clarify that something isn’t something else, because it isn’t obviously different, maybe the two are more alike than you’d like to admit. On that note, I’m a happy PHP developer, PHP doesn’t suck anymore ( link to this video ), and there is no way to say JavaScript doesn’t have at least as many footguns now. (Personally, I think JavaScript’s footguns - like the ludicrous dependency trees and framework churn - are actually worse.)

u/Arzeknightin r/compsci • Mentions

On “What programming languages do you enjoy coding in?”

\PHP doesn't suck\, to be fair.

u/Arzeknightin r/compsci • Mentions

On “What programming languages do you enjoy coding in?”

Failed successfully. :facepalm: PHP doesn't suck