We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af462c8 commit 2bf7156Copy full SHA for 2bf7156
spec.md
@@ -448,9 +448,9 @@ version supports constant visibilities (PHP 7.1 or later).
448
449
The `var` keyword MUST NOT be used to declare a property.
450
451
-There MUST NOT be more than one property declared per statement.
+There MUST NOT be more than one property or constant declared per statement.
452
453
-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
454
protected or private visibility. That is, an underscore prefix explicitly has
455
no meaning.
456
0 commit comments