[php-src] PR #24127: ext/standard: Stop get_browser() looping on browscap parent cycles
| From: | iliaal | Date: | Sun, 04 Oct 2026 22:27:59 +0000 |
| Subject: | [php-src] PR #24127: ext/standard: Stop get_browser() looping on browscap parent cycles | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39144@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24127
Author: iliaal
The browscap loader already rejects an entry that is its own parent, but a longer cycle (A -> B
-> C -> A) loads fine and get_browser() then follows it forever. get_browser() now remembers
which entries it has visited and stops at the first repeat.