xref: /PHP-7.2/ext/opcache/tests/bug75687.phpt (revision a20c9bd3)
1--TEST--
2Bug #75687 (var 8 (TMP) 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 x($y)
13{
14	if (is_array($y)) {
15		$z = is_array($y) ? array() : array($y);
16	}
17}
18?>
19okey
20--EXPECT--
21okey
22