---
title: "Shahabaz Alam (@azqora) | Hashnode"
description: "Shahabaz Alam (@azqora) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@azqora"
---

@azqora

# Shahabaz Alam

@azqora · Joined November 2026

## Comments

[The missing key vs null distinction is a real gotcha in PHP. With a decoded array, isset($data\['meta'\]) returns false when the value is null, so it treats a present null key like a missing one. array\_key\_exists('meta', $data) tells them apart. Also worth noting that mixed already includes null, so if a field is only ever a value or null, a nullable type such as ?array (or array|null in PHP 8) is usually a tighter choice than mixed.](https://hashnode.com/posts/null-becomes-mixed-on-the-php-dto/6afbb30b6c053d6c8fa19f52/comment/6afbd11c5b421c2b428b6db5)

Comment · Article · 1d ago · [null becomes mixed on the PHP DTO](https://hashnode.com/posts/null-becomes-mixed-on-the-php-dto/6afbb30b6c053d6c8fa19f52)
