[php-src] PR #15244: Reset seen symbols when ending namespace
| From: | iluuu1994 | Date: | Mon, 05 Aug 2024 08:57:09 +0000 |
| Subject: | [php-src] PR #15244: Reset seen symbols when ending namespace | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27676@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15244
Author: iluuu1994
Previously, seen symbols were never cleaned during the compilation of a single file. This makes it
impossible to use a class or function from a different namespace if such a symbol is also declared
within the same file. This is inconsistent with how it would work when split into different files.