Skip to content

Commit 5574159

Browse files
committed
Create bug-12574b.php
1 parent 998dcd3 commit 5574159

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php declare(strict_types = 1);
2+
3+
namespace Bug12574b;
4+
5+
class HelloWorld
6+
{
7+
public function sayHello2(string $a): void
8+
{
9+
$b = [];
10+
11+
$b[$a] = 'abc';
12+
13+
echo $b[$a];
14+
}
15+
}

0 commit comments

Comments
 (0)