1344 1884 1699 1350 1713 1661 1712 1413 1902 1589 1955 1946 1466 1732 1961 1132 1133 1326 1175 1591 1078 1376 1781 1188 1626 1199 1419 1173 1841 1810 1794 1249 1892 1980 1068 1436 1043 1148 1803 1554 1835 1200 1249 1986 1640 1332 1624 1875 1475 1633 1403 1046 1507 1907 1836 1349 1291 1622 1001 1425 1884 1996 1679 1205 1388 1297 1270 1190 1599 1383 1404 1116 1635 1496 1458 1862 1518 1284 1025 1661 1380 1874 1888 1133 1667 1447 1510 1901 1044 1324 1973 1555 1909 1321 1463 1889 1647 1345 1775 PHPnews.io | The amazing payoff goes here

PHPnews.io

Overview for 'stitcher-io'

How I plan

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

I love getting mail. If you're a regular reader of this blog, you probably know that by now. I received a mail today from Muhammad, asking me a question that's not directly related to programming, though maybe it might interest some programmers nevertheless. Here's what he asked: I struggle in one…


PHP in 2022

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

It's the fourth time I'm writing a yearly "PHP in 20XX" post, and I must admit I've never been as excited about it as this year: we've seen awesome new features added to PHP, with stuff like attributes, enums, promoted properties and fibers; and on top of that, the static analysis community is maki…


PHP version stats: January, 2022

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

It's that time again: my biyearly summary of which PHP versions are used across the community. It's been 6 months since my previous post and during that time PHP 8.1 was released. It'll be interesting to see some numbers on this newest version as well. As always, it's important to note that I'm wor…


Upgrade to PHP 8.1 with Homebrew on Mac

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

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 a new and exiting feature of PHP 8.1; afterwards you'll be automatically unsubscribed, so no spam or followup. Subscribe now! # Upgrading with Homebrew Start by making…


PHP 8.1: real-life performance benchmarks

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

I did a very quick performance test because I wanted to know the impact of PHP 8.1 on my real-life projects. These benchmarks were taken on my local machine, and only meant to measure the relative difference between PHP 8.0 and 8.1. I benchmarked a page that showed lots of data, with lots of classe…


PHP 8.1 in 8 code blocks

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

enum Status { case draft; case published; case archived; public function color(): string { return match($this) { Status::draft => 'grey', Status::published => 'green', Status::archived => 'red', }; } } Enums class PostData { public function __construct( public readonly string $title, publi…