PHPnews.io

Overview for 'stitcher-io'

PHP Enums

Written by Stitcher.io / Original link on Feb. 17, 2021

They are finally coming — built-in support for enums will be added in PHP 8.1! Some might consider them long overdue, but you don't hear me complain; I'm glad they made it! This post is dedicated to looking at the newly added feature in-depth. If you want to stay up to date about these kinds of cha…


PHP Enums before PHP 8.1

Written by Stitcher.io / Original link on Feb. 17, 2021

# Native support in PHP 8.1 You can read all about built-in enums in PHP 8.1 in this post. If you're looking for more information on userland implementations of enums before PHP 8.1, you can continue to read this post. If you came here looking for our enum implementation in PHP, that's this way. If…


What's new in PHP 8.1

Written by Stitcher.io / Original link on Jan. 29, 2021

PHP 8.1 is currently in active development and will probably be released somewhere around the end of November 2021. We already know about new features, performance improvements, changes and deprecations; so let's go through them one by one. # New features As with every release, PHP 8.1 adds some ni…


A storm in a glass of water

Written by Stitcher.io / Original link on Jan. 20, 2021

I just read a post about PHP 8 that I couldn't just silently ignore. If you want to read it first, go check it out. With a fitting title "A Perfect Storm", the author voices their concerns about how upgrading to PHP 8 isn't an easy path, and how open source maintainers have to struggle to be able…


If it were up to me

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

If it were up to me, I'd change a thing or two about PHP. Of course, I don't have anything to say about PHP's development, and that's ok. I still find it an interesting thought experiment to discover what changes I'd like to make to the language I use on a day-by-day basis and I'd love to hear your…


When I lost a few hundred leads

Written by Stitcher.io / Original link on Nov. 29, 2020

Before you start… Some readers have reached out to me and talked about solutions to the technical problems described in this post. I'd like to make clear that this post isn't about how to deal with or prevent bugs. It's about how I felt during a rather bad and stressful time, to talk about emotions…