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 45d447e commit 22f7813Copy full SHA for 22f7813
tests/cases/parser/parameterPromotion2.php
@@ -0,0 +1,7 @@
1
+<?php
2
+class X {
3
+ // It's a syntax error to have more than one visibility modifier
4
+ public function __construct(
5
+ public protected $var
6
+ ) {}
7
+}
0 commit comments