1--TEST--
2JIT QM_ASSIGN: 004 missing type store
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--FILE--
9<?php
10
11function getPropertyScopes($props, $flags): array
12{
13    $propertyScopes = [];
14    foreach ($props as $prop) {
15        $tmp = 'x'.$flags;
16        $propertyScopes[] = $propertyScopes[] = ($flags & 1 ? false : null) . '';
17    }
18
19    return $propertyScopes;
20}
21
22var_dump(getPropertyScopes(['a'], 0));
23var_dump(getPropertyScopes(['a'], 0));
24?>
25DONE
26--EXPECT--
27array(2) {
28  [0]=>
29  string(0) ""
30  [1]=>
31  string(0) ""
32}
33array(2) {
34  [0]=>
35  string(0) ""
36  [1]=>
37  string(0) ""
38}
39DONE
40