[php-src] Issue #21677: Special type `undefined`
| From: | gzhegow1991 | Date: | Wed, 08 Apr 2026 21:09:20 +0000 |
| Subject: | [php-src] Issue #21677: Special type `undefined` | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251913@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/21677
Author: gzhegow1991
### Description
Undefined === null; // true
function my_function($hello = 123)
{
var_dump($hello);
}
my_function(null); // > null
my_function(undefined); // > 123