xref: /PHP-7.4/ext/opcache/tests/bug76463.phpt (revision 1cc99331)
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--SKIPIF--
8<?php require_once('skipif.inc'); ?>
9--FILE--
10<?php
11
12function test() {
13	$old_data = isset($old_data) ? (array)$old_data : [];
14}
15
16?>
17okey
18--EXPECT--
19okey
20