1385 1188 1292 1377 1632 1125 1053 1793 1937 1564 1218 1042 1368 1679 1835 1145 1662 1233 1726 1204 1102 1537 1556 1551 1488 1443 1456 1028 1219 1557 1340 1195 1141 1986 1072 1684 1956 1786 1442 1183 1601 1691 1393 1305 1001 1149 1621 1906 1943 1459 1994 1132 1841 1642 1146 1599 1103 1519 1794 1557 1088 1295 1419 1663 1260 1839 1565 1145 1351 1950 1507 1257 1693 1043 1628 1771 1156 1804 1865 1405 1071 1597 1918 1531 1890 1937 1757 1507 1679 1651 1680 1997 1840 1211 1142 1299 1805 1511 1472 PHPnews.io | The amazing payoff goes here

PHPnews.io

Overview for 'stitcher-io'

Generics in PHP (video)

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

I made this video about generics last week, 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. Also make sure to share your opinions on the topic via Twitter or email! Generics. We all want them, they are probab…


What's new in PHP 8.1

Written by Stitcher.io / Original link on Nov. 5, 2021

PHP 8.1 will be released on November 25, 2021. We already know all new features, performance improvements, changes and deprecations; so let's go through them one by one. Do you want to learn more about PHP 8.1? There's The Road to PHP 8.1. For the next 10 days, you'll receive a daily email covering…


The case for route attributes

Written by Stitcher.io / Original link on Oct. 27, 2021

I've been thinking about route attributes lately. By doing so, I came to realise that I've got a somewhat strange relation with annotations a.k.a. attributes. Over the years, I've gone from loving them to hating them, to loving them again, to somewhere in between. I've seen them abused, both inside…


PHP 8.1: new in initializers

Written by Stitcher.io / Original link on Oct. 9, 2021

PHP 8.1 adds a feature that might seem like a small detail, but one that I think will have a significant day-by-day impact on many people. So what's this "new in initializers RFC" about? Let's take a look at an example; we've all written code like this: class MyStateMachine { public function __cons…


The birth and death of a framework

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

This post was first released on my newsletter. Feel free to subscribe if you want to be the first these kinds of posts, and want to talk about about them with me directly via email. Every once in a while, maybe every couple of years, someone has an idea that revolutionises the tech industry. All po…


PHP 8.1: readonly properties

Written by Stitcher.io / Original link on Sep. 11, 2021

Writing data transfer objects and value objects in PHP has become significantly easier over the years. Take for example a look at a DTO in PHP 5.6: class BlogData { /** @var string */ private $title; /** @var Status */ private $status; /** @var \DateTimeImmutable|null */ private $publishedAt; /** *…