Skip to content

Commit 7139cdc

Browse files
committed
Rename test function
1 parent 717134e commit 7139cdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/tests/ctor_promotion_free_function.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Constructor promotion cannot be used in a free function
33
--FILE--
44
<?php
55

6-
function test(public $prop) {}
6+
function __construct(public $prop) {}
77

88
?>
99
--EXPECTF--

0 commit comments

Comments
 (0)