[php-src] Issue #7925: Enum comparison resuls sometimes incorrect
| From: | drealecs | Date: | Mon, 10 Jan 2022 20:19:32 +0000 |
| Subject: | [php-src] Issue #7925: Enum comparison resuls sometimes incorrect | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238942@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7925
Comment Author: drealecs
Please be aware that the logical not operator
! has higher precedence than comparison
operators like === or !==
So, ! EN::one === EN::one is just false === EN::one.