LMSouq
php-dev Open

php is null when empty?

ER
Erin Tucker
1 month ago
4 views
Problem Description
I have a question regarding `NULL` in PHP: $a = ''; if($a == NULL) { echo 'is null'; } Why do I see **is null** when `$a` is an empty string? Is that a bug?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base