#PHP

github.com/ghostwriterghostwriter@phpc.social
2026-01-27

🤔 Is this a #Composer normalization quirk caused by how #PHP encodes empty vs non-empty maps when regenerating composer.lock?

`stability-flags` is logically a map, but when empty Composer may serialize it as `[]` instead of `{}` especially after;

composer update --prefer-dist --prefer-stable

- Same dependency graph
- Different lockfile bytes / hash

Semantic determinism ✅
Byte-level determinism ❌

#Nix #BuildSystems #ReproducibleBuilds

Dan 🦺 Deboerdandb@mas.to
2026-01-27

I dream of a day where #PHP has some kind of (OPTIONAL) function/variable import/export system, if only to control scope in functional programs.

Turbo Learn PHPTurboLearnPHP
2026-01-27
Symfonysymfony
2026-01-27

👀 Berlin… something’s coming.

Four days where Symfony takes over the city — hands-on trainings, powerful talks, and the energy of the community 💻⚡
Save the dates. Get ready. This one will be special.

📅 April 21–24, 2026
👉 live.symfony.com/2026-berlin/

Thorsten Danersatreyu@social.cologne
2026-01-27

Heute wieder #RDD => Rage Driven Development. #php #software

2026-01-27

If your custom validation rule internally defers to an existing Laravel rule and just inverts the logic, you might be able to avoid the custom rule altogether. Notice what I found in a recent code review. #php #laravel masteringlaravel.io/daily/2026

Johan Vervloetvohanj@phpc.social
2026-01-27

#phpquiz #php

```php
$a = [];
$b = array_merge([4 => 1], $a);
```
Which one is true now:

FOSS Devsysedit
2026-01-27
Turbo Learn PHPTurboLearnPHP
2026-01-27
2026-01-27

debug-tui: Interactive #PHP step debugger for your terminal.

github.com/dantleech/debug-tui

2026-01-27

Vasnic gives you total control over links and media in new post!
vasnic.wtnet9.site

2026-01-27

📢 Our next event is up! On Wednesday 11 February, @DaveLiddament will show us how to get as close as possible to the Holy Test Trinity of extensive coverage, speed, and implementation ease.

📅 Details and registration 👇

meetup.com/php-sussex/events/3

#php

Dariusz Gafkadgafka@phpc.social
2026-01-27

~27% of PHP apps run on EOL or security-only versions. Over 50% of top packages still support unsupported PHP.

This isn't a personal failing. It's an industry condition.

Wrote about practical paths forward that don't require betting everything on a rewrite.

blog.ecotone.tech/your-legacy-

#PHP #LegacyCode #OpenSource #Ecotone

2026-01-27
Decomposition into weight × level + jump of A097102 in 3D (threejs - WebGL) (log(weight), log(level), log(jump))Decomposition into weight × level + jump of A097102 in 2D (log(weight), log(level))

#React #JSX code looks, well, like #PHP: a mixture of HTML and a C-like language. Plenty of differences, but they do look similar. A typical PHP file back in the day for a web app was often a mixture of HTML, PHP, JavaScript, and SQL code very often in the same file. Yeah, the bugs were wild, but debugging was straight forward. If a customer had a problem on, say, "products/orders.php", it's quite likely that the buggy code was in the file, "products/orders.php" in your repo.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst