[php-src] Issue #7925: Enum comparison resuls sometimes incorrect

From: Date: Mon, 10 Jan 2022 20:32:13 +0000
Subject: [php-src] Issue #7925: Enum comparison resuls sometimes incorrect
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238943@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7925 Comment Author: berniev of course. D’oh! > On 11 Jan 2022, at 6:19 am, Alexandru Pătrănescu ***@***.***> wrote: > > > 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. > > — > Reply to this email directly, view it on GitHub > <https://github.com/php/php-src/issues/7925#issuecomment-1009308779>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAEXAYOAZMK4OKSM6C3UTVDUVM5OFANCNFSM5LUQKHSQ>. > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you authored the thread. >

« previous php.bugs (#238943) next »