xref: /PHP-8.4/ext/opcache/tests/bug76463.phpt (revision e9f783fc)
1--TEST--
2Bug #76463 (var has array key type but not value type)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7--EXTENSIONS--
8opcache
9--FILE--
10<?php
11
12function test() {
13    $old_data = isset($old_data) ? (array)$old_data : [];
14}
15
16?>
17okey
18--EXPECT--
19okey
20