PHPnews.io

Overview for 'stitcher-io'

Why do I write?

Written by Stitcher.io / Original link on Aug. 13, 2021

This post was originally sent to my newsletter on August 12, 2021. I originally didn't plan to blog about it, but given the reactions that I received, I decided it would be good to share it with a larger audience. This is going to be a slightly different style of newsletter than you're used to. I'm…


The Road to PHP 8.1

Written by Stitcher.io / Original link on Aug. 6, 2021

I'm happy to announce a fun little project today: The Road to PHP 8.1. It's a 10-day popup newsletter that'll teach you about all the shiny new things in PHP 8.1. The only thing you'll need to do is drop your name and email address, and you'll receive a daily email for the next 10 days. Worried abo…



We don't need runtime type checks

Written by Stitcher.io / Original link on Jul. 26, 2021

Do you want to make a guess about when I last encountered a TypeError in one of my projects? To be honest, I can't remember, so it's probably a few years. Coincidentally, I also started relying on static analysis around the same time. I'm fairly certain that I could disable PHP's runtime type check…



PHP 8.1: before and after

Written by Stitcher.io / Original link on Jul. 16, 2021

The release of PHP 8.1 will be here within a few months, and once again there are many features that get me excited! In this post I want to share the real-life impact that PHP 8.1 will have on my own code. # Enums A long-awaited feature, enums are coming! There's little to be said about this one,…