[php-src] Issue #22409: `assert` should never be fixed to `\assert`

[email protected] (mvorisek) Tue, 23 Jun 2026 11:11:40 +0000
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/22409
Author: mvorisek

### Description

`assert` is a special function and always resolved to `\assert` no matter the current namespace.

proof: https://3v4l.org/SjWCI#veol