---
title: "Dreaming of a strong and statically-typed PHP"
url: https://daily.dev/posts/dreaming-of-a-strong-and-statically-typed-php-t8k2qwypj
source_url: https://pxplang.org/blog/dreaming-of-a-strong-and-statically-typed-php
type: article
source: "Community Picks"
published: 2024-01-26T06:51:12.552Z
updated: 2024-05-09T08:29:02.242Z
tags: ["php"]
reading_time: 4
upvotes: 49
comments: 4
language: 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.

# Dreaming of a strong and statically-typed PHP

**[Community Picks](https://daily.dev/sources/community)** · 4 min read · 49 upvotes · 4 comments

## Summary

Exploration of the possibility of a strong and statically-typed PHP with new features in the type system.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://pxplang.org/blog/dreaming-of-a-strong-and-statically-typed-php>

## Community discussion

Top comments from developers on daily.dev.

**@chrishow** · 3 upvotes

> no one's dreaming that xD

**@trehinos** · 1 upvotes

> PHP type system is perfectly balanced.
> It enforces types anywhere a contract can be written without requiring the verbosity of casts or redondant type declaration.
>
> With it, you can encapsulate fonctions and models easily.
>
> I dont see any value in the proposal.

**@maslukasz** · 0 upvotes

> interesting 😎

**@insign** · 0 upvotes

> Eventually php will have a slightly better type system and this “new” lang will become obsolete. Just add type system is like destroy what php users like so it needs to be friendly and possibly to do that needs to be slow and planned.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php)

[View this post on daily.dev](https://daily.dev/posts/dreaming-of-a-strong-and-statically-typed-php-t8k2qwypj)
