From 2bf71561eada1fbc2c27bc2eaf0d6519b847a263 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 21 Apr 2023 14:39:36 +0400 Subject: [PATCH] Expand Properties and Constants on constants where it makes sense --- spec.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.md b/spec.md index f677e76..6e44d7f 100644 --- a/spec.md +++ b/spec.md @@ -448,9 +448,9 @@ version supports constant visibilities (PHP 7.1 or later). The `var` keyword MUST NOT be used to declare a property. -There MUST NOT be more than one property declared per statement. +There MUST NOT be more than one property or constant declared per statement. -Property names MUST NOT be prefixed with a single underscore to indicate +Property or constant names MUST NOT be prefixed with a single underscore to indicate protected or private visibility. That is, an underscore prefix explicitly has no meaning.