[php-src] PR #21304: Zend: add const qualifiers to the majority of compare functions
| From: | Girgias | Date: | Thu, 26 Feb 2026 16:15:12 +0000 |
| Subject: | [php-src] PR #21304: Zend: add const qualifiers to the majority of compare functions | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35030@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21304
Author: Girgias
This sadly does not include zend_compare() and functions relying on it due to 2 reasons:
- The compare object handler doesn't take const pointers
- The cast object handler (used for comparisons against other types) doesn't take const
pointers