function bar(): void { $a = []; $a = [1 => 2, 2 => 3, 3 => 4]; }