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 717134e commit 7139cdcCopy full SHA for 7139cdc
Zend/tests/ctor_promotion_free_function.phpt
@@ -3,7 +3,7 @@ Constructor promotion cannot be used in a free function
3
--FILE--
4
<?php
5
6
-function test(public $prop) {}
+function __construct(public $prop) {}
7
8
?>
9
--EXPECTF--
0 commit comments