digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

823
active users

#php

76 posts56 participants10 posts today

🎉 PHP 8.5.0 Beta 1 is available for testing!

- #[\Override] for properties
- Nearly all 8.5 deprecations, you can start future proofing your code now!
- Bug fixes thanks to your testing and feedback

… and more!

➕ Do: Test your projects!

➖ Don't: Run it in production. It's not fully ready yet.

Congratulations to @edorian, Daniel, and @adoy

🔗 php.net/archive/2025.php#2025-

www.php.netPHP: News Archive - 2025PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

Y recuerden chicos:

Cuando actualicen sus servidores de Debian 12 a Debian 13 (y en cualquier upgrade grande), apaguen el #Apache antes de actualizar, si no puede pasar que el servidor web siga activo mientras se descarga el módulo #php y se cambia por una nueva versión.

Durante ese tiempo, todo el código PHP del servidor queda expuesto como si fuera TXT, y sí, podemos tener contraseñas ahí dentro.

#gnu#linux#debian

You should really try to write some #php 5.3 code… trust me, it ain’t fun
in my case, it’s not by choice but current legacy project needs some adjustments

Yet… IMHO this is the best way to realise how far we have come and how blessed we are to have @thephpf, our #phpamily community and all the good minded and hard working #opensource #developers that made this language ready, and continue to do so, for the 50 years to come

Tremendous gratitude

🗓️ NEXT WEEK | Join us at 1 P.M. EDT on Thursday, August 21, for a webinar exploring how to manage mission-critical web app migrations, including roadblocks to avoid and strategies for success.

Can’t make the live broadcast? No problem. Register now, and we will send an on-demand recording after the session.

Save your seat >> ter.li/7x0o5e

In the Shopware HubCast hosted by Sander Mangel and Dennis Höting, Sander talks with our @beberlei about:

- Shopware performance pitfalls & fixes

- Profiling real-world shops

- How open source contributions can really move the needle

Watch it here: youtube.com/watch?v=Qh5vQPNklOs

Periodic reminder Stop using boolean as options flags in #PHP use Enum (Backed or Not that's not the point) instead. Boolean flags are hard to read and to remember and they often lead to tricky bugs or at best a required trip to the API documentation if it exists (defaulting to scanning the codebase for the method definition), Enum are explicit and readable and offer granularity instead of a simple yes/no answer