PHPnews.io

Overview for 'stitcher-io'

Goodbye

Written by Stitcher.io / Original link on Mar. 25, 2022

I've got some important news: today marked my last day working at Spatie and I will start working at JetBrains in the PhpStorm team on Monday. I want to talk about that. You might be wondering what happened. I actually didn't plan on leaving Spatie originally; I wasn't looking for a new job. It was…


The case for PHP generics

Written by Stitcher.io / Original link on Mar. 25, 2022

I started this series by saying it’s not just about teaching you, it’s also about making my case for what I think is the most viable and the most logical path to adding generics in PHP. It’s up to you to decide after this video whether you agree or not. So, your honor, I’d like to start my closing…


Why we can't have generics in PHP

Written by Stitcher.io / Original link on Mar. 24, 2022

We’re going to take a deep dive in what’s going on behind the scenes when it comes to generics and PHP. It’s super interesting, and very important to understand why generics aren’t supported yet as first-class citizens in PHP. Let’s get started. You can watch the video instead of reading a blog pos…


Generics in depth

Written by Stitcher.io / Original link on Mar. 23, 2022

I showed a very boring example of generics in the previous post, we’re going to do better in this one. $users = new Collection<User>(); $slugs = new Collection<string>(); Collections; they are probably the easiest way to explain what generics are about, but they also are the example tha…


Generics in PHP: The basics

Written by Stitcher.io / Original link on Mar. 22, 2022

Generics in PHP. I know I’d want them. And I know a lot of developers who agree. On the other hand, there is a group of PHP programmers, maybe even larger, that say they don’t know what generics are, or why they should care. I’m going to do a series on this blog about generics and PHP. We’ll start…


PHP in 2021 (video)

Written by Stitcher.io / Original link on Jan. 24, 2022

Back in December, I made this video looking back on PHP in 2021. You can watch it (make sure to like and subscribe if you liked it), or you can read the transcript here if you don't like watching videos. It’s the end of 2021 and I still hear some people say they think PHP is dead. They are wrong,…