this post was submitted on 11 Jul 2023
12 points (100.0% liked)

PHP

543 readers
1 users here now

Welcome to /c/php! This is a community for PHP developers and enthusiasts to share and discuss anything related to PHP. From the latest updates and tutorials, to your burning questions and amazing personal projects, we welcome all contributions.

Let's foster an environment of respect, learning, and mutual growth. Whether you're an experienced PHP developer, a beginner, or just interested in learning more about PHP, we're glad to have you here!

Let's code, learn, and grow together!

founded 1 year ago
MODERATORS
 

To lighten up some discussion here, I would like to ask what features or changes you would love to see in future PHP versions? We know that in recent versions a lot of nice adjustments were added, but I bet most of us dreams for more.

I personally would love to see types on inline variables, at first even not strict. However, I don’t know if it’s remotely possible with how currently the language is implemented.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago (1 children)

I'm keen for this community to gain some traction, hopefully it's a bit less toxic than our reddit counterpart.

I would love to see Generics and custom Types in PHP. Generics for obvious reasons. And Types so we don't need to create a DTO just for type-hinting of objects. Combined with Generics, so we can have typed Arrays!

[–] [email protected] 2 points 1 year ago (1 children)

I’m keen for this community to gain some traction, hopefully it’s a bit less toxic than our reddit counterpart.

I'm curious, does brent_gd is that bad in moderating /r/php ? Or it's just they community is toxic there?

[–] [email protected] 2 points 1 year ago

I don't think Brent does a bad job, it can just be a bit gnsrly there imo