From 108a3f8ca0c19f885acb8d39213f6d02d9d6b7d7 Mon Sep 17 00:00:00 2001 From: Kevin DeCapite Date: Tue, 20 Jan 2026 11:37:03 -0800 Subject: [PATCH] Add strict inequality check for Suit enumeration The paragraph above explicitly states that "cases are not intrinsically backed by a scalar value"; this example demonstrates that more clearly than the others. --- language/enumerations.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/language/enumerations.xml b/language/enumerations.xml index 4a72c2ce4b8e..20c33ce40892 100644 --- a/language/enumerations.xml +++ b/language/enumerations.xml @@ -105,6 +105,8 @@ $b = Suit::Spades; $a === $b; // true $a instanceof Suit; // true + +$a !== 'Spades'; // true ?> ]]>