logo

When it might be ok to use a mixed type

Intent matters more than enforcement

Joel Clermont
Joel Clermont
2026-04-17

PHP treats mixed the same as no type at all. So why bother writing it?

In today's short video, I make the case that the two are very different, even if PHP can't tell them apart.

Watch Now (3 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. If your team is adding types to an existing Laravel codebase, don't just tell Claude to do it. Let me show you a reliable way to leverage types. Schedule a call with us.

Toss a coin in the jar if you found this helpful.
Want a tip like this in your inbox every weekday? Sign up below 👇🏼
email
No spam. Only real-world advice.