<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/0swysxadn" -->

---
title: My PHP Wishlist | daily.dev
description: A PHP developer shares desired improvements for the language, drawing inspiration from Python. Key wishes include bundling Composer with PHP, simplifying...
canonical: https://daily.dev/posts/0swysxadn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: My PHP Wishlist | daily.dev
og:description: A PHP developer shares desired improvements for the language, drawing inspiration from Python. Key wishes include bundling Composer with PHP, simplifying...
og:url: https://daily.dev/posts/0swysxadn
og:image: https://api.daily.dev/og/posts/0SwYSXADN.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# My PHP Wishlist

**[PHP Dev](https://daily.dev/sources/phpdev)** · [@damienseguy](https://daily.dev/damienseguy) · 20 upvotes · 6 comments

## Summary

A PHP developer shares desired improvements for the language, drawing inspiration from Python. Key wishes include bundling Composer with PHP, simplifying extension management by treating them as regular packages, adding native Set objects and operator overloading to the standard library, supporting multi-line arrow functions, implementing first-class Unicode support, separating lists from dictionaries as distinct types, adding list/dictionary comprehensions for cleaner syntax, and improving multi-version management. The author also critiques increasing language complexity around features like readonly/final classes and void return type strictness, arguing for practical simplicity over conceptual purity.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.einenlum.com/articles/my-php-wishlist/>

## Community discussion

Top comments from developers on daily.dev.

**@adriengras** · 2 upvotes

> Great article, I agree with all the points.
> The two I could also add is generics (Class<T>) and async-await/multithread support.

**@phlisg** · 2 upvotes

> I want improved composable types, or whatever fancier name, when returning an array of something. I find it cumbersome to write a PHPdoc comment explaining what the array holds

**@lcss** · 1 upvotes

> mise (uses asdf) or asdf to manage multiple php versions works very well for development.

**@willembraam** · 1 upvotes

> Great article! Couldn't agree more one the `void` return type, this behavior annoys me all. the. time.

**@simongcei** · 0 upvotes

> I'd like PHP to become a bit less strict about types again.

## Similar posts on daily.dev

- [PHP in 2026](https://daily.dev/posts/php-in-2026-lsdo240ed) · stitcher.io · 123 upvotes · 3 comments
- [Four out of five](https://daily.dev/posts/four-out-of-five-0p880vrtn) · PHPUnit Expert · 5 upvotes · 1 comments
- [Game changing editions](https://daily.dev/posts/game-changing-editions-hed6aeluz) · stitcher.io · 1 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#php](https://daily.dev/tags/php), [#language-design](https://daily.dev/tags/language-design)

[View this post on daily.dev](https://daily.dev/posts/0swysxadn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/0swysxadn","headline":"My PHP Wishlist","text":"Shared: My PHP Wishlist","url":"https://daily.dev/posts/0swysxadn","datePublished":"2026-01-19T09:34:28.001Z","dateModified":"2026-01-19T09:35:06.397Z","author":{"@type":"Person","name":"Damien seguy","url":"https://daily.dev/damienseguy","image":"https://media.daily.dev/image/upload/s--nPbjKqol--/f_auto,q_auto/v1698422671/avatars/avatar_G85JhYcDxAg024Omc8Rlp","description":"PHP developer passionate about deep language knowledge, testing, static analysis, and sustainable it","worksFor":{"@type":"Organization","name":"Exakat","logo":"https://media.daily.dev/image/upload/s--ibtl6fze--/f_auto/v1749051132/companies/exakat"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":42940}},"image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":20},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":6}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/7PODVVf6O"},"comment":[{"@type":"Comment","text":"Great article, I agree with all the points.\nThe two I could also add is generics (Class\u0026lt;T\u0026gt;) and async-await/multithread support.","datePublished":"2026-01-20T12:28:20.267Z","url":"https://daily.dev/posts/0SwYSXADN#c-kyIs1Z26V","author":{"@type":"Person","name":"Adrien Gras","url":"https://daily.dev/adriengras","image":"https://avatars.githubusercontent.com/u/72006541?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"I want improved composable types, or whatever fancier name, when returning an array of something. I find it cumbersome to write a PHPdoc comment explaining what the array holds","datePublished":"2026-01-20T16:10:52.759Z","url":"https://daily.dev/posts/0SwYSXADN#c-aw9YsKLzj","author":{"@type":"Person","name":"Phlisg","url":"https://daily.dev/phlisg","image":"https://media.daily.dev/image/upload/s--FN_ynnjb--/f_auto/v1755006303/avatars/avatar_Y1klcvmY0LiikjVFthCLU?_a=BAMClqZW0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"mise (uses asdf) or asdf to manage multiple php versions works very well for development.","datePublished":"2026-01-27T20:29:30.295Z","url":"https://daily.dev/posts/0SwYSXADN#c-X4DtmkSkL","author":{"@type":"Person","name":"Lucas","url":"https://daily.dev/lcss","image":"https://avatars.githubusercontent.com/u/6903590?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Great article! Couldn’t agree more one the void return type, this behavior annoys me all. the. time.","datePublished":"2026-02-02T07:12:30.719Z","url":"https://daily.dev/posts/0SwYSXADN#c-fkuVtxRKT","author":{"@type":"Person","name":"Wim","url":"https://daily.dev/willembraam","image":"https://media.daily.dev/image/upload/s--d8vi-7Z---/f_auto/v1744005765/avatars/avatar_OhkcNUguhyeJUP9qT6mCh"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"I’d like PHP to become a bit less strict about types again.","datePublished":"2026-01-20T09:30:50.643Z","url":"https://daily.dev/posts/0SwYSXADN#c-AJ7RFm5Rj","author":{"@type":"Person","name":"simon GCEI","url":"https://daily.dev/simongcei","image":"https://lh3.googleusercontent.com/a/ACg8ocJBJMp6l9MXZpxWJlb2p993Q3AXnE6UWRQfUNNRL1QogqPQvA=s96-c"}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/phpdev","name":"PHP Dev"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PHP Dev","item":"https://daily.dev/squads/phpdev"},{"@type":"ListItem","position":3,"name":"My PHP Wishlist"}]}
```

