PHPnews.io

Overview for 'stitcher-io'

The IKEA effect

Written by Stitcher.io / Original link on May. 21, 2020

# The sparkA few days ago while I was browsing the forums, I stumbled across a discussion that was the spark for this article.In short the OP was having problems with an expensive query and trying his best to optimize it.The thread had a lot of responses suggesting ways of optimizing the query like…



PHP 8 in 8 code blocks

Written by Stitcher.io / Original link on May. 15, 2020

PHP 8 brings lots of new features, in this list we'll look at the most outstanding ones. If you want a full list and background information, you can read about all things new in PHP 8.use \Support\Attributes\ListensTo;class ProductSubscriber{ <<ListensTo(ProductCreated::class)>> …


array_chunk in PHP

Written by Stitcher.io / Original link on May. 14, 2020

PHP has a lot of undiscovered native functions for many devs. Usually, we don't discover these functions until there is a true need for them. array_chunk is certainly one of these functions for me personally. In this article, we will discover what array_chunk is, what it does, and see it used in ac…



Minor versions, breaking changes

Written by Stitcher.io / Original link on Mar. 26, 2020

When my colleague Sebastian wrote about how bumping major versions isn't a breaking change, I would wholeheartedly agree.I can't anymore. At least, not with how composer works today.See yesterday, we stumbled upon a breaking change. And yet we didn't do any major version upgrades. Luckily another …