[php-src] PR #20409: Fix GH-20395: \Dom\ParentNode::querySelector and \Dom\ParentNode::querySelectorAll requires elements in $selectors to be
lowercase
| From: | ndossche | Date: | Thu, 06 Nov 2025 21:36:17 +0000 |
| Subject: | [php-src] PR #20409: Fix GH-20395: \Dom\ParentNode::querySelector and \Dom\ParentNode::querySelectorAll requires elements in $selectors to be lowercase |
||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33950@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20409
Author: ndossche
The selector needs to be compared in a lowercase manner. This also almost completely obsoletes the
interned string optimization, so get rid of that for simplicity sake. While there is still
theoretical benefit, it is only 1-2% in my random tests, not worth it anymore.