[php-src] PR #20432: standard: Remove redundant code in range()
| From: | ndossche | Date: | Sat, 08 Nov 2025 23:44:32 +0000 |
| Subject: | [php-src] PR #20432: standard: Remove redundant code in range() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33983@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20432
Author: ndossche
If we use signed integers (which fit the unsigned chars), then we can avoid the extra checks. Also
move an exception check to the proper place.