#PHP9

2026-03-17

I wish PHP 9.0 had a feature called "Flag".

No more bitwise operators, just fluent flag declaration. I'll prefer that rather than adding numbers and then wondering what is "8 | 16".

2026-03-03

I hope allows to construct a class from a static method without having to call `new`:

2026-01-19

Je serai de passage à l' @afup Limoges, jeudi 29 janvier 2026.

Rendez-vous chez OD&B, pour améliorer son code aujourd'hui et être prêt pour #PHP9 demain!

Les elePHPants sont les bienvenus!

meetup.com/afup-limoges-php/ev

2025-12-25

⚠️ #PHP 8.2 deprecated dynamic properties - #PHP9 removes them completely! #webdev

🔴 Dynamic properties = adding properties to objects without declaring them in the class. Example: $user->age = 30; on an empty User class. This worked silently in older PHP versions.

🐛 Problem 1: Silent typos become hidden bugs. Write $user->custmer_email instead of customer_email - no error thrown, just returns null later when you try to read it. Hours of debugging for a simple typo.

🧵 👇

Palantir.netpalantir
2025-04-25

This article goes beyond just listing PHP 9.0's features; it explores how those features could impact real-world development, what they mean for PHP's future, and how devs can start preparing themselves medium.com/@umeshp113/the-futu

2025-04-09

PHP 9.0 is coming 💥

🔹 More predictable
🔹 No more silent bugs
🔹 Cleaner, modern code

Ready to level up your code?
🔗medium.com/@umeshp113/the-futu

#php #webdev #CleanCode #programming #php9

«lambalicious»lambalicious@aleph.land
2024-08-29

So, i learned today that #PHP #php8 has deprecated strftime and #php9 plans to remove it. They officially say you should be using either date() or the intldateformatter suite instead.

Like... what?

strftime is ISO Standard! It's literally POSIX! The format flags are even "printf"-style!

Not only that, but the proposed """replacements""" force you to choose between whatever variant of racism, classism and Americentrism you like!: date() works only in US English and only for numbers, whereas intldateformatter supports languages but requires users of any culture other than "US English" to load a whole PHP module.

Oh, besides you have to change the format strings (woe betide if you are using user-provided!), ALSO these replacements *invert the logic* for processing the format strings as well: intldateformatter etc escapes everything that is *not* a format flag.

Fortunately, forwardports already exist such as github.com/alphp/strftime/ .

2023-11-01

Is the #php8 logo meant to be a mobius strip?

Either way I do like it.

There is a high bar for #php9

Client Info

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