[php-src] Issue #7726: enums: is_case() function

From: Date: Mon, 06 Dec 2021 18:22:14 +0000
Subject: [php-src] Issue #7726: enums: is_case() function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238223@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7726 Comment Author: nikic $value instanceof UnitEnum is indeed the intended way to check whether something is an instance of an enum case. I'm going to explicitly decline the addition of a function that does the same thing.

« previous php.bugs (#238223) next »